@scalar/api-reference 1.12.8 → 1.13.0
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 +26 -0
- package/README.md +12 -0
- package/dist/browser/standalone.js +7 -7
- package/dist/components/ApiReferenceBase.vue.d.ts.map +1 -1
- package/dist/components/ClassicHeader.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/ClientSelector.vue.d.ts.map +1 -1
- package/dist/components/Content/ReferenceEndpoint/EndpointDetailsCard.vue.d.ts.map +1 -1
- package/dist/components/Content/ReferenceEndpoint/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/components/Content/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/SearchButton.vue.d.ts.map +1 -1
- package/dist/components/SearchModal.vue.d.ts.map +1 -1
- package/dist/components/Section/Section.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
- package/dist/components/SidebarElement.vue.d.ts.map +1 -1
- package/dist/helpers/index.d.ts +0 -1
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/useDarkModeState.d.ts +1 -0
- package/dist/hooks/useDarkModeState.d.ts.map +1 -1
- package/dist/hooks/useSnippetTargets.d.ts +6 -0
- package/dist/hooks/useSnippetTargets.d.ts.map +1 -0
- package/dist/{index-a869472c.js → index-41c17d51.js} +9607 -9509
- package/dist/{index-3eeb5de1.js → index-4853a3d5.js} +3 -3
- package/dist/index.js +37 -38
- package/dist/stores/template.d.ts.map +1 -1
- package/dist/types.d.ts +12 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +6 -6
- package/dist/helpers/getAvailableTargets.d.ts +0 -2
- package/dist/helpers/getAvailableTargets.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @scalar/api-reference
|
|
2
2
|
|
|
3
|
+
## 1.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 97cd84e9: feat: client ignore list
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 5dac9c51: fix: open section on search result click
|
|
12
|
+
- 0e0f34b3: fix: cleanup safari bugs
|
|
13
|
+
- 7582e82a: fix: classic layout stylings
|
|
14
|
+
- Updated dependencies [0e0f34b3]
|
|
15
|
+
- @scalar/api-client@0.8.8
|
|
16
|
+
|
|
17
|
+
## 1.12.9
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- d5d55407: feat: expose dark mode light mode property in config
|
|
22
|
+
- 7d502131: fix: add markdown rendering for body schema
|
|
23
|
+
- 3e7c4cf7: feat: add fetch examples
|
|
24
|
+
- Updated dependencies [c171c9d9]
|
|
25
|
+
- @scalar/use-codemirror@0.7.17
|
|
26
|
+
- @scalar/api-client@0.8.7
|
|
27
|
+
- @scalar/swagger-editor@0.9.3
|
|
28
|
+
|
|
3
29
|
## 1.12.8
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -131,6 +131,18 @@ You can pass information to the config object to configure meta information out
|
|
|
131
131
|
} />
|
|
132
132
|
```
|
|
133
133
|
|
|
134
|
+
#### hiddenClients?: array
|
|
135
|
+
|
|
136
|
+
You can pass an array of [httpsnippet clients](https://github.com/Kong/httpsnippet/wiki/Targets) to hide from the clients menu.
|
|
137
|
+
|
|
138
|
+
```vue
|
|
139
|
+
<ApiReference :configuration="{
|
|
140
|
+
hiddenClients: ['fetch']
|
|
141
|
+
} />
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
By default hides Unirest, pass `[]` to show all clients
|
|
145
|
+
|
|
134
146
|
#### onSpecUpdate?: (spec: string) => void
|
|
135
147
|
|
|
136
148
|
You can listen to spec changes with onSpecUpdate that runs on spec/swagger content change
|