restscript
spot
restscript | spot | |
---|---|---|
1 | 2 | |
4 | 537 | |
- | 1.9% | |
0.0 | 8.5 | |
about 3 years ago | 11 days ago | |
TypeScript | TypeScript | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
restscript
-
Building a language server in Go for a DSL language
Maybe you don't need a server. Compile and run in browser. https://github.com/kiselev-nikolay/restscript (I love Go, but server side DSL will cost a lot of money)
spot
-
Show /r/rust: a Rust implementation of the Realworld demo app spec using Axum and SQLx, written by a co-author of SQLx.
That's obviously not a great situation, so I've started experimenting with airtasker/spot which uses a Typescript-based DSL to generate OpenAPI specs. It's a decent stopgap, although I would love it if we could adapt something like this to Rust using doc-comments and attributes or something so the documentation can live in the code itself.
-
Anyone using decorators, or some other form of inline documentation, to generate an openapi spec file based on a typescript library?
https://github.com/grantila/typeconv/ https://github.com/airtasker/spot https://github.com/vega/ts-json-schema-generator
What are some alternatives?
trpc-openapi - OpenAPI support for tRPC 🧩
realworld-axum-sqlx - A Rust implementation of the Realworld demo app spec using Axum and SQLx.
docker-rust - The official Docker images for Rust
typeconv - Convert between JSON Schema, TypeScript, GraphQL, Open API and SureType
ts-json-schema-generator - Generate JSON schema from your Typescript sources
ji-cloud
spectral - A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v3.1, v3.0, and v2.0 as well as AsyncAPI v2.x.
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
validator - Simple validation for Rust structs
typoas - Open API (OAS 3.0) Typescript generator
realworld - "The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more