redoc icon indicating copy to clipboard operation
redoc copied to clipboard

Show all components in the UI

Open agaro1121 opened this issue 1 year ago • 1 comments

Hello!

I built an html static page with the build-docs command but it only shows the schemas for the request/responses. Is there a way to show all the components on the sidebar separate from the endpoints?

agaro1121 avatar Jul 25 '24 20:07 agaro1121

I believe this one is related to Redoc. Will transfer this issue there.

tatomyr avatar Jul 25 '24 20:07 tatomyr

Hi @agaro1121, Sorry for long delay. Try to use <SchemaDefinition/> component in tags or info->description For exmaple:

tags:
  - name: pet_model
    x-displayName: The Pet Model
    description: |
      <SchemaDefinition schemaRef="#/components/schemas/Pet" />

Please reopen that issue if you have more questions. Thanks

AlexVarchuk avatar Dec 30 '24 18:12 AlexVarchuk