Forum Discussion

mvalle's avatar
mvalle
New Contributor
3 years ago

Why editor shows only schemas from components section?

in my openapi.yaml file the components section contains schemas, responses, and parameters subsections,
but the Editor shows only the schemas part.
What I'm doing wrong?
Thanks for considering!
mario
  • Hey Mario (mvalle ),

     

    You're not doing anything wrong 🙂 

    Swagger UI (the UI side of Swagger Editor) only renders the Operations (GET/POST/etc) and Models (#/components/schemas and #/definitions).

     

    I'm not sure if the other components would add noise or be useful to users. 

    This might be a good candidate for a Plugin of Swagger UI if you find it's needed by you/your team. 

     

    Hope that answers your query 🙂