-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add OpenAPI description of the extension API #17
Comments
As I may have mentioned over there: having one of the implementations be the source of truth is convenient... for the source of truth. In particular, In general, I've encountered fewer surprises when a project:
This also prevents some chicken-and-egg scenarios, letting frontend and backend be tested independently of one another (though the tooling itself has to live somewhere). If it is tolerable to have to do a JS build first, the output of |
@bollwyvl Any recs for a good openapi -> python and/or openapi -> typescript stub generator? |
The biggest player is OpenAPITools/openapi-generator. This generates entire opinionated servers/clients. We... don't want those opinions, yet, e.g. Flask. Nor do i want to sling enough Java to make one for tornado. A related approach is connexion, which forces an app to use the OpenAPI spec to wire up the application, and doesn't turn on if the team forgets to implement a route (in Flask, tornado, or aiohttp). It kinda takes over everything, as one can imagine. I prefer a lighter touch, of just the data model, and not get wrapped up in a specific application, as none of these things would know what the heck Except: if I already have a JSON schema validator around in For manager-kinda-things, that have mutable state with traitlets, making a |
Or better #16 (comment)
The text was updated successfully, but these errors were encountered: