@scalar/api-reference 1.20.24 → 1.20.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @scalar/api-reference
2
2
 
3
+ ## 1.20.25
4
+
5
+ ### Patch Changes
6
+
7
+ - 1504d3b: feat: add config to hide models
8
+
3
9
  ## 1.20.24
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -78,7 +78,17 @@ Making requests to other domains is restricted in the browser and requires [CORS
78
78
  Whether the sidebar should be shown.
79
79
 
80
80
  ```vue
81
- <ApiReference :configuration="{ showSidebar: true} />
81
+ <ApiReference :configuration="{ showSidebar: true } />
82
+ ```
83
+
84
+ #### hideModels?: boolean
85
+
86
+ Whether models (components.schemas) should be shown in the sidebar, search and content.
87
+
88
+ `@default false`
89
+
90
+ ```vue
91
+ <ApiReference :configuration="{ hideModels: true } />
82
92
  ```
83
93
 
84
94
  ### customCss?: string