Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI export functionality #92

Open
chrisdickinson opened this issue Jun 9, 2021 · 0 comments
Open

OpenAPI export functionality #92

chrisdickinson opened this issue Jun 9, 2021 · 0 comments

Comments

@chrisdickinson
Copy link
Contributor

Use the information from routing, validation middleware, and possibly typescript return types[1] to generate Swagger YAML for ingestion into various tools.

The goal is to be able to feed Boltzmann-generated OpenAPI documents into various documentation generators & request tools (like Postman.) A stretch goal is that we can lint these API docs.

[1]: We could also expose a validate.returns({...jsonschema}) middleware that does response validation on the way out in dev mode for non-typescript projects? IDK exactly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant