Hiding OAS Models

Hiding Models


Remove OAS models from your documentation and Read View.


  1. Select the modeling file you want to modify
  2. Switch to Code View
  3. Add the following code to the root of your OAS spec
"x-stoplight": {
    "docs": {
      "showModels": false
  1. Refresh the web app to see the changes take effect

Related Articles