@scalar/api-reference 1.24.4 → 1.24.5

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.24.5
4
+
5
+ ### Patch Changes
6
+
7
+ - ee584b9: feat: add base server override
8
+
3
9
  ## 1.24.4
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -194,6 +194,17 @@ Key used with CTRL/CMD to open the search modal (defaults to 'k' e.g. CMD+k)
194
194
  <ApiReference :configuration="{ searchHotKey: 'l'} />
195
195
  ```
196
196
 
197
+ #### servers?: Server[]
198
+
199
+ List of servers to override the openapi spec servers
200
+
201
+ @default undefined
202
+ @example [{ url: 'https://api.scalar.com', description: 'Production server' }]
203
+
204
+ ```vue
205
+ <ApiReference :configuration="{ servers: [{ url: 'https://api.scalar.com', description: 'Production server' }] } />
206
+ ```
207
+
197
208
  #### metaData?: object
198
209
 
199
210
  You can pass information to the config object to configure meta information out of the box.