pgjones / quart-schema

Quart-Schema is a Quart extension that provides schema validation and auto-generated API documentation.
MIT License
76 stars 24 forks source link

How to add multiple Schema Versions? #84

Open DanielHabenicht opened 1 month ago

DanielHabenicht commented 1 month ago

If one wants to create an api which server multiple versions (e.g. v1/user, v2/users), is there a way to also generate multiple openapi schemas for it?

Tags are a workaround, but normally used to group routes which are related.

Probably another decorator @version would be needed?