typoas
spot
typoas | spot | |
---|---|---|
3 | 2 | |
35 | 537 | |
- | 1.9% | |
7.2 | 8.5 | |
15 days ago | 12 days ago | |
TypeScript | TypeScript | |
MIT License | 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.
typoas
-
I'm looking to use my openapi spec to dyanamically create types
I created typoas to generate either only types or a full client for a specific openapi spec.
-
Sharing Typoas - An OpenAPI Typescript generator
Link: https://github.com/Embraser01/typoas
- Show HN: Typoas – TypeScript OpenAPI client generator
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?
oas3-chow-chow - Request and response validator against OpenAPI Specification 3
trpc-openapi - OpenAPI support for tRPC 🧩
openapi-typescript-code-generator - TypeScript code generator via OpenAPI scheme.
realworld-axum-sqlx - A Rust implementation of the Realworld demo app spec using Axum and SQLx.
typebox - Json Schema Type Builder with Static Type Resolution for TypeScript
docker-rust - The official Docker images for Rust
swagger-typescript-api - TypeScript API generator via Swagger scheme
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/