spectree
spectree copied to clipboard
[Question] Is it possible to specify a BaseModel class as a Redoc Model?
In the Redoc Interactive Demo, specific data models can be categorized under the "MODELS" tag. Does spectree provide a method to pull in / mark a BaseModel class as a model for redoc to illustrate?
See The Pet Model as an example.
I guess it's https://redocly.com/docs/api-reference-docs/specification-extensions/x-tag-groups/.
But I didn't find this in the OpenAPI doc. (correct me if I'm wrong)
For now, you can find the information if you're using swagger.