4 ms·
I think going from code to OpenAPI makes a lot more sense, at least for strong typed languages. And even if not directly translated from code, at least closer t
by ivan888 3y ago
I think going from code to OpenAPI makes a lot more sense, at least for strong typed languages. And even if not directly translated from code, at least closer to the actual code, in annotations or something. Generating the spec from code removes a step, where you simply need to update code, rather than update the spec then update the code
- simplesager 3y agoCompletely agree. Keeping the openapi spec as tightly coupled to types in code builds a single source truth from your development to your deployment