Components
Example Schemas
See: https://github.com/basketry/examples/tree/main/schemas
Parsers
Component | Version | Description |
---|---|---|
@basketry/openapi-3 | Parser for OpenAPI v3 docs (JSON and YAML) | |
@basketry/json-schema | Parser for JSON Schema docs. | |
@basketry/swagger-2 | Parser for Swagger/OpenAPI v2 docs (JSON and YAML) |
Rules
Component | Version | Description |
---|---|---|
@basketry/rules | Common rules for building pipelines. |
Generators
Typescript
Component | Version | Description |
---|---|---|
@basketry/typescript | Generate interfaces, types, and enums in Typescript | |
@basketry/typescript-http-client | Generate an HTTP client for use in Typescript applications. | |
@basketry/express | Generate routers for Express JS servers | |
@basketry/typescript-dtos | Generate Data Transfer Objects (DTOs) for clients and servers | |
@basketry/typescript-docs | Generate markdown docs | |
@basketry/react-query | Generate React Query hooks and options | |
@basketry/zod | Generate Zod schemas | |
@basketry/typescript-validators | Generate validation methods (deprecated) | |
@basketry/typescript-auth | Generate code to enforce security definitions (deprecated) |
Ruby/Sorbet
info
Note that Ruby/Sorbet components have not been updated to the 0.1 release and are looking for maintainers. If you are interesting in supporting this part of the project, please reach out on Github or on the Basketry discord.
Component | Version | Description |
---|---|---|
@basketry/sorbet | Generate interfaces, types, and enums in Sorbet | |
@basketry/sorbet-validators | Generate validation methods | |
@basketry/sorbet-http-client | Generate an HTTP client for use in Ruby/Sorbet applications. | |
@basketry/rails | Generate Rails routes and controllers | |
@basketry/sorbet-docs | Generate markdown docs |