Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Is it possible to specify a BaseModel class as a Redoc Model? #275

Open
jsmoliak opened this issue Nov 10, 2022 · 1 comment
Open

Comments

@jsmoliak
Copy link

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.

image

@kemingy
Copy link
Member

kemingy commented Nov 10, 2022

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.

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

No branches or pull requests

2 participants