You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could avoid this redundancy by generating parts of the OpenAPI spec from the schemas using an openapi-generator. In this way we keep a single source of truth.
As a bonus, that would import the docs too \o/
The text was updated successfully, but these errors were encountered:
I did a bit of research, catbuffer schemas don't match the mongo collections completely, and the open API spec follows the mongo collections, not the catbuffer schemas. You will have mismatches as described in the schema issue
Maybe we can generate the basic types or some entities, and manually create the mismatched ones. Also, there is information not found in catbuffer that can appear in open API, for example, the meta fields.
Things like EntityDTO are already described in a catbuffer-schema.
We could avoid this redundancy by generating parts of the OpenAPI spec from the schemas using an openapi-generator. In this way we keep a single source of truth.
As a bonus, that would import the docs too \o/
The text was updated successfully, but these errors were encountered: