Skip to content

Commit f06fb17

Browse files
authored
Remove swr-openapi source (#2560)
1 parent e9d3c68 commit f06fb17

37 files changed

+74
-3786
lines changed

.github/ISSUE_TEMPLATE/04_swr-openapi-bug.yml

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

.github/ISSUE_TEMPLATE/04_swr-openapi-feat.yml

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

CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,5 @@ This monorepo has 2 main sections: the `docs/` that deploy to `openapi-ts.dev`,
3333
├── openapi-fetch/
3434
├── openapi-react-query/
3535
├── openapi-typescript/
36-
├── openapi-typescript-helpers/
37-
└── swr-openapi/
36+
└── openapi-typescript-helpers/
3837
```

docs/.vitepress/en.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,6 @@ export default defineConfig({
7878
{ text: "queryOptions", link: "/query-options" },
7979
],
8080
},
81-
{
82-
text: "swr-openapi",
83-
base: "/swr-openapi",
84-
items: [
85-
{ text: "Getting Started", link: "/" },
86-
{ text: "Hook Builders", link: "/hook-builders" },
87-
{ text: "useQuery", link: "/use-query" },
88-
{ text: "useImmutable", link: "/use-immutable" },
89-
{ text: "useInfinite", link: "/use-infinite" },
90-
{ text: "useMutate", link: "/use-mutate" },
91-
],
92-
},
9381
{
9482
text: "openapi-metadata",
9583
items: [

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-
### swr-openapi
55-
56-
1. Types should be strict and inferred automatically from OpenAPI schemas with the absolute minimum number of generics needed.
57-
2. Respect the original `swr` APIs while reducing boilerplate.
58-
3. Be as light and performant as possible.
59-
6054
### openapi-metadata
6155

6256
1. Must respect the OpenAPI V3 specification

docs/ja/openapi-fetch/examples.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ openapi-fetchを他のフレームワークやライブラリと組み合わせ
1010

1111
See [openapi-react-query](/ja/openapi-react-query/)
1212

13-
## React + SWR
14-
15-
See [swr-openapi](/swr-openapi/)
16-
1713
## Next.js
1814

1915
[Next.js](https://nextjs.org/) は、React向けの最も人気のあるSSR(サーバーサイドレンダリング)フレームワークです。[React Query](#react--react-query) はクライアントサイドでのデータ取得に推奨されていますが、この例では、Next.jsの[サーバーサイドでのデータ取得機能](https://nextjs.org/docs/app/building-your-application/data-fetching/fetching-caching-and-revalidating#fetching-data-on-the-server-with-fetch)を利用し、ビルトインのキャッシュ機能を活用する方法を示しています。

docs/openapi-fetch/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ See [openapi-react-query](/openapi-react-query/)
1212

1313
## React + SWR
1414

15-
See [swr-openapi](/swr-openapi/)
15+
See [swr-openapi](https://github.com/htunnicliff/swr-openapi)
1616

1717
## Next.js
1818

docs/swr-openapi/hook-builders.md

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

0 commit comments

Comments
 (0)