Remix.run Logo
946789987649 3 days ago

If you use something like an OpenAPI generator and want to have different DTOs in your version 2, then you cannot do what you suggested.

jamietanna 2 days ago | parent | next [-]

I've been using OpenAPI for years with multiple versioning types (header based, content negotiation + media type based) and haven't had issues across Java, Typescript or Go with generating the right code for it

JimDabell 3 days ago | parent | prev [-]

You can specify multiple media types in OpenAPI.