@scalar/api-reference 1.24.3 → 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 +15 -0
- package/README.md +11 -0
- package/dist/browser/standalone.js +2 -2
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +25 -24
- package/dist/components/Content/Content.vue.d.ts +3 -0
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js +2 -2
- package/dist/components/Content/Content.vue2.js +46 -45
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +11 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @scalar/api-reference
|
|
2
2
|
|
|
3
|
+
## 1.24.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ee584b9: feat: add base server override
|
|
8
|
+
|
|
9
|
+
## 1.24.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [c65697c]
|
|
14
|
+
- @scalar/use-tooltip@0.7.2
|
|
15
|
+
- @scalar/api-client@1.3.7
|
|
16
|
+
- @scalar/api-client-modal@0.0.6
|
|
17
|
+
|
|
3
18
|
## 1.24.3
|
|
4
19
|
|
|
5
20
|
### 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.
|