@scalar/api-reference 1.1.5 → 1.1.6

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,14 @@
1
1
  # @scalar/api-reference
2
2
 
3
+ ## 1.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 36761e4: feat: make the available tabs configurable
8
+ - Updated dependencies [8e65ba9]
9
+ - Updated dependencies [36761e4]
10
+ - @scalar/swagger-editor@0.7.6
11
+
3
12
  ## 1.1.5
4
13
 
5
14
  ### Patch Changes
package/README.md CHANGED
@@ -88,8 +88,15 @@ You can decide which tab should be active by default:
88
88
  ```vue
89
89
  <ApiReference
90
90
  :initialTabState="{ tabs: { initialContent: 'Getting Started' } }" />
91
- <!-- or -->
92
- <ApiReference :configuration="{ tabs: { initialContent: 'Swagger Editor' } }" />
91
+ ```
92
+
93
+ And you can define which tabs should be visible:
94
+
95
+ ```vue
96
+ <ApiReference
97
+ :configuration="{
98
+ tabs: { available: ['Getting Started', 'Swagger Editor'] },
99
+ }" />
93
100
  ```
94
101
 
95
102
  #### showSidebar?: boolean