|
|
|
|
|
by crucialfelix
2050 days ago
|
|
I think the parent comment doesn't mean that the schema is generated from the implementation, but that there are annotations colocated with the code that provide metadata to generate the schema. This is what I do. I have typescript functions that generate openapi responses. I do generate the schémas from sequelize models, blending in descriptions and enums where appropriate. https://southpole.stoplight.io/docs/calculate/docs/CSV%20imp... |
|