Forum Discussion

nandan's avatar
nandan
New Contributor
2 years ago

Disable Schema in Swagger UI

hi Experts,

i would like to disable the display of Schema in the Swagger UI. appreciate if you could suggest a possible approach how to hide it. 

in my user context, the pure swagger editor is being used by the user and hence the display of Schema does not share the exact behavior of the API as they are the technical design time building blocks.

appreciate if you could share how is could disable it Swagger UI, the complete Schema Block as shown in the image attached.

 

thanks!!

  • nandan's avatar
    nandan
    New Contributor

    Thanks!! Chichepo for your recommendation. basically, it's mandatory for me  to use Schema for open API definition of my API. it will add lot of redundancy. Additionally as you know the schema capability helps in easy maintenance and readability.

    Appreciate if you could just any other alternative approach for hiding the schema section

    thanks!!