Skip to content
This repository has been archived by the owner on Nov 11, 2017. It is now read-only.

Can we control the output of the metadata for different "swaggerVersion"? #61

Open
marcellodesales opened this issue Dec 20, 2013 · 1 comment

Comments

@marcellodesales
Copy link

I have a requirement that different Swagger UI versions are different in my company. 1.0, 1.1, and I'm using 1.2... AS I understand, the last 2 are backwards compatible, but 1.0 is not...

Is there a way to generate the metadata for different versions? I'd like to have a json files for each version, so that I can route the Swagger UI calls for the correct version of the produced json.

@ryankennedy
Copy link
Owner

On the surface it seems like this shouldn't be very difficult to do. The big question is whether supporting the older versions of the Swagger JSON format is worth the baggage/debt in the code. I'll take a look over the holidays.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants