vitepress-openapi 0.1.18 → 0.1.20
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/README.md +19 -0
- package/dist/types/src/client.d.ts +1 -0
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/lib/utils/minifyHtml.d.ts +5 -0
- package/dist/{useOpenapi-DUT_WkQ8.js → useOpenapi-B4Uu-BLL.js} +111 -104
- package/dist/{useOpenapi-CKx0hILD.cjs → useOpenapi-CcNxVvye.cjs} +53 -51
- package/dist/vitepress-openapi.client.cjs.js +21 -21
- package/dist/vitepress-openapi.client.es.js +3 -2
- package/dist/vitepress-openapi.css +1 -1
- package/dist/vitepress-openapi.node.cjs.js +1 -1
- package/dist/vitepress-openapi.node.es.js +6 -5
- package/package.json +1 -1
- package/src/client.ts +1 -0
- package/src/composables/useSidebar.ts +5 -2
- package/src/index.ts +1 -0
- package/src/lib/sidebar/ensureGroupTextSlashPrefix.ts +1 -1
- package/src/lib/utils/minifyHtml.ts +9 -0
- package/src/style.css +3 -0
package/README.md
CHANGED
|
@@ -2,10 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Generate VitePress API Documentation from OpenAPI Specification.
|
|
4
4
|
|
|
5
|
+
## Demo
|
|
6
|
+
|
|
7
|
+
- [DolarApi.com](https://dolarapi.com/)
|
|
8
|
+
- [ArgentinaDatos](https://argentinadatos.com/)
|
|
9
|
+
- [CriptoYa API](https://docs.criptoya.com/)
|
|
10
|
+
|
|
5
11
|
## Documentation
|
|
6
12
|
|
|
7
13
|
To get started, check out the [documentation](https://vitepress-openapi.vercel.app/).
|
|
8
14
|
|
|
15
|
+
|
|
9
16
|
## Contributors
|
|
10
17
|
|
|
11
18
|
<a href="https://github.com/enzonotario/vitepress-openapi/graphs/contributors">
|
|
@@ -14,6 +21,18 @@ To get started, check out the [documentation](https://vitepress-openapi.vercel.a
|
|
|
14
21
|
|
|
15
22
|
Made with [contrib.rocks](https://contrib.rocks).
|
|
16
23
|
|
|
24
|
+
|
|
17
25
|
## License
|
|
18
26
|
|
|
19
27
|
[MIT License](./LICENSE) © 2023-present [Enzo Notario](https://github.com/enzonotario).
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
### ❤️ Sponsors & Backers
|
|
32
|
+
|
|
33
|
+
<a href="https://github.com/sponsors/enzonotario">
|
|
34
|
+
<img src="https://raw.githubusercontent.com/enzonotario/enzonotario/main/sponsors.png" alt="Sponsors & Backers" />
|
|
35
|
+
</a>
|
|
36
|
+
|
|
37
|
+
> [Become a sponsor](https://github.com/sponsors/enzonotario)
|
|
38
|
+
|
|
@@ -21,4 +21,5 @@ export { useTheme } from './composables/useTheme';
|
|
|
21
21
|
export { generateCodeSample } from './lib/codeSamples/generateCodeSample';
|
|
22
22
|
export { OARequest } from './lib/codeSamples/request';
|
|
23
23
|
export { createOpenApiSpec } from './lib/spec/createOpenApiSpec';
|
|
24
|
+
export { minifyHtml } from './lib/utils/minifyHtml';
|
|
24
25
|
export { locales } from './locales';
|
|
@@ -4,6 +4,7 @@ export { getGlobalOpenapi, injectOpenapi, useOpenapi, } from './composables/useO
|
|
|
4
4
|
export { usePaths } from './composables/usePaths';
|
|
5
5
|
export { useSidebar } from './composables/useSidebar';
|
|
6
6
|
export { createOpenApiSpec, type OpenApiSpecInstance } from './lib/spec/createOpenApiSpec';
|
|
7
|
+
export { minifyHtml } from './lib/utils/minifyHtml';
|
|
7
8
|
export { parseSpec } from './lib/utils/parseSpec';
|
|
8
9
|
export declare const httpVerbs: readonly OpenAPIV3.HttpMethods[];
|
|
9
10
|
export declare const literalTypes: string[];
|