Skip to content

Commit 4305435

Browse files
authored
deprecate openapi-metadata package (#2597)
1 parent 147b5c0 commit 4305435

79 files changed

Lines changed: 8 additions & 3897 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/.vitepress/config.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import en from "./en";
33
import zh from "./zh";
44
import ja from "./ja";
55
import shared from "./shared";
6-
import { transformerTwoslash } from "@shikijs/vitepress-twoslash";
7-
import { ModuleResolutionKind } from "typescript";
86

97
// https://vitepress.dev/reference/site-config
108
export default defineConfig({
@@ -14,16 +12,4 @@ export default defineConfig({
1412
zh: { label: "简体中文", ...zh },
1513
ja: { label: "日本語", ...ja },
1614
},
17-
markdown: {
18-
codeTransformers: [
19-
transformerTwoslash({
20-
twoslashOptions: {
21-
compilerOptions: {
22-
experimentalDecorators: true,
23-
moduleResolution: ModuleResolutionKind.Bundler,
24-
},
25-
},
26-
}),
27-
],
28-
},
2915
});

docs/.vitepress/en.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -78,26 +78,6 @@ export default defineConfig({
7878
{ text: "queryOptions", link: "/query-options" },
7979
],
8080
},
81-
{
82-
text: "openapi-metadata",
83-
items: [
84-
{ text: "Getting Started", link: "/openapi-metadata" },
85-
{ text: "Decorators", link: "/openapi-metadata/decorators" },
86-
{ text: "Metadata", link: "/openapi-metadata/metadata" },
87-
{ text: "Type loader", link: "/openapi-metadata/type-loader" },
88-
{ text: "UI Integrations", link: "/openapi-metadata/ui" },
89-
{
90-
text: "Integrations",
91-
items: [
92-
{
93-
text: "AdonisJS",
94-
link: "https://friendsofadonis.com/docs/openapi",
95-
},
96-
],
97-
},
98-
{ text: "Examples", link: "/openapi-metadata/examples" },
99-
],
100-
},
10181
{ text: "About", link: "/about" },
10282
],
10383
},

docs/.vitepress/theme/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,12 @@ import type { Theme } from "vitepress";
33
import DefaultTheme from "vitepress/theme";
44
import CustomLayout from "./CustomLayout.vue";
55
import SponsorList from "./SponsorList.vue";
6-
import TwoslashFloatingVue from "@shikijs/vitepress-twoslash/client";
76
import "./style.css";
8-
import "@shikijs/vitepress-twoslash/style.css";
97

108
export default {
119
extends: DefaultTheme,
1210
Layout: CustomLayout,
1311
enhanceApp({ app, router, siteData }) {
1412
app.component("SponsorList", SponsorList);
15-
app.use(TwoslashFloatingVue);
1613
},
1714
} satisfies Theme;

docs/about.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ description: Additional info about this project
5151
2. Respect the original `@tanstack/react-query` APIs while reducing boilerplate.
5252
3. Be as light and performant as possible.
5353

54-
### openapi-metadata
55-
56-
1. Must respect the OpenAPI V3 specification
57-
2. Be extensible and easily integrated inside backend frameworks
58-
3. Be focused around developer experience
59-
6054
## Maintainers
6155

6256
This library is currently maintained by these amazing individuals:

docs/data/contributors.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/openapi-metadata/decorators.md

Lines changed: 0 additions & 55 deletions
This file was deleted.

docs/openapi-metadata/examples.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)