Re:Analyzing the OpenAPI Tooling Ecosystem
by throwawaymaths on Sunday September 22, 2024 @10:40PM
(#41621964)
> writing the document first doesn't give you much over generating it from types.
There's a required top-level parameter called version. As you are writing the document, it's in your face.
Re:Analyzing the OpenAPI Tooling Ecosystem
by sunshowers on Monday September 23, 2024 @12:08PM
(#41627574)
With Dropshot, the version is passed in as a function argument to the OpenAPI generator.
Re:Analyzing the OpenAPI Tooling Ecosystem
by throwawaymaths on Monday September 23, 2024 @01:55PM
(#41628715)
You will find out the problems with your approach.
We actually have a plan for supporting multiple versions, and conversions between the corresponding types, using Dropshot as the place where that's coordinated.