├── .github └── workflows │ ├── all.yaml │ ├── doc.yaml │ └── publish.yaml ├── .gitignore ├── .idea ├── .gitignore ├── codeStyles │ ├── Project.xml │ └── codeStyleConfig.xml ├── inspectionProfiles │ └── Project_Default.xml ├── modules.xml ├── prettier.xml ├── typed-api-spec.iml └── vcs.xml ├── examples ├── misc │ ├── .eslintrc.js │ ├── express │ │ ├── valibot │ │ │ ├── express.ts │ │ │ ├── fetch.ts │ │ │ └── openapi │ │ │ │ └── index.ts │ │ └── zod │ │ │ ├── express.ts │ │ │ ├── fetch.ts │ │ │ └── openapi │ │ │ └── index.ts │ ├── fastify │ │ └── zod │ │ │ ├── fastify.ts │ │ │ └── fetch.ts │ ├── github │ │ └── github.ts │ ├── package.json │ ├── simple │ │ ├── spec.ts │ │ └── withValidation.ts │ ├── spec │ │ ├── valibot.ts │ │ └── zod.ts │ └── tsconfig.json ├── vite-react-openapi │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package.json │ ├── src │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.app.json │ ├── tsconfig.json │ ├── tsconfig.node.json │ └── vite.config.ts └── vite │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── src │ ├── github │ │ └── spec.ts │ ├── main.ts │ ├── style.css │ └── vite-env.d.ts │ ├── tsconfig.json │ └── vite.config.ts ├── package.json ├── pkgs ├── docs │ ├── .gitignore │ ├── babel.config.js │ ├── docs │ │ ├── 01_overview.md │ │ ├── 02_getting-started.md │ │ ├── 03_api-specification.md │ │ ├── 04_client │ │ │ ├── _category_.json │ │ │ ├── overview.md │ │ │ └── validation.md │ │ ├── 05_server │ │ │ ├── _category_.json │ │ │ ├── express.md │ │ │ ├── fastify.md │ │ │ └── msw.md │ │ ├── 06_validation │ │ │ ├── _category_.json │ │ │ ├── concept.md │ │ │ ├── standard-schema.md │ │ │ ├── valibot.md │ │ │ └── zod.md │ │ ├── 07_openapi.md │ │ └── 08_playground.md │ ├── docusaurus.config.ts │ ├── package.json │ ├── sidebars.ts │ ├── src │ │ ├── components │ │ │ └── HomepageFeatures │ │ │ │ ├── index.tsx │ │ │ │ └── styles.module.css │ │ ├── css │ │ │ └── custom.css │ │ └── pages │ │ │ ├── index.module.css │ │ │ ├── index.tsx │ │ │ └── markdown-page.md │ ├── static │ │ ├── .nojekyll │ │ └── img │ │ │ ├── docusaurus-social-card.jpg │ │ │ ├── docusaurus.png │ │ │ ├── favicon.ico │ │ │ ├── logo.svg │ │ │ ├── typed-api-spec.png │ │ │ ├── undraw_docusaurus_mountain.svg │ │ │ ├── undraw_docusaurus_react.svg │ │ │ └── undraw_docusaurus_tree.svg │ └── tsconfig.json └── typed-api-spec │ ├── .eslintrc.js │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── package.json │ ├── readme.md │ ├── renovate.json │ ├── src │ ├── compile-error-utils.ts │ ├── core │ │ ├── headers.t-test.ts │ │ ├── headers.ts │ │ ├── hono-types.ts │ │ ├── index.ts │ │ ├── jsonschema.ts │ │ ├── openapi │ │ │ ├── index.ts │ │ │ ├── openapi-valibot.test.ts │ │ │ ├── openapi-zod.test.ts │ │ │ ├── openapi.ts │ │ │ └── spec.ts │ │ ├── query-string.t-test.ts │ │ ├── query-string.ts │ │ ├── schema.t-test.ts │ │ ├── schema.test.ts │ │ ├── schema.ts │ │ ├── spec.test.ts │ │ ├── spec.ts │ │ ├── type-test.ts │ │ ├── type.t-test.ts │ │ ├── type.ts │ │ ├── url.t-test.ts │ │ ├── url.ts │ │ └── validator │ │ │ ├── request.ts │ │ │ ├── response.ts │ │ │ └── validate.ts │ ├── express │ │ ├── index.ts │ │ ├── valibot.test.ts │ │ └── zod.test.ts │ ├── fastify │ │ └── index.ts │ ├── fetch │ │ ├── index.t-test.ts │ │ ├── index.ts │ │ ├── new-fetch.ts │ │ ├── validation.no-test.ts │ │ └── validation.ts │ ├── index.ts │ ├── json │ │ ├── index.test.ts │ │ └── index.ts │ ├── msw │ │ ├── http.test.ts │ │ └── index.ts │ └── utils.ts │ ├── tsconfig.json │ ├── tsup.config.ts │ └── vite.config.mts └── readme.md /.github/workflows/all.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/.github/workflows/all.yaml -------------------------------------------------------------------------------- /.github/workflows/doc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/.github/workflows/doc.yaml -------------------------------------------------------------------------------- /.github/workflows/publish.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/.github/workflows/publish.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage 3 | dist -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/.idea/codeStyles/Project.xml -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/.idea/codeStyles/codeStyleConfig.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/prettier.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/.idea/prettier.xml -------------------------------------------------------------------------------- /.idea/typed-api-spec.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/.idea/typed-api-spec.iml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /examples/misc/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/.eslintrc.js -------------------------------------------------------------------------------- /examples/misc/express/valibot/express.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/express/valibot/express.ts -------------------------------------------------------------------------------- /examples/misc/express/valibot/fetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/express/valibot/fetch.ts -------------------------------------------------------------------------------- /examples/misc/express/valibot/openapi/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/express/valibot/openapi/index.ts -------------------------------------------------------------------------------- /examples/misc/express/zod/express.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/express/zod/express.ts -------------------------------------------------------------------------------- /examples/misc/express/zod/fetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/express/zod/fetch.ts -------------------------------------------------------------------------------- /examples/misc/express/zod/openapi/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/express/zod/openapi/index.ts -------------------------------------------------------------------------------- /examples/misc/fastify/zod/fastify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/fastify/zod/fastify.ts -------------------------------------------------------------------------------- /examples/misc/fastify/zod/fetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/fastify/zod/fetch.ts -------------------------------------------------------------------------------- /examples/misc/github/github.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/github/github.ts -------------------------------------------------------------------------------- /examples/misc/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/package.json -------------------------------------------------------------------------------- /examples/misc/simple/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/simple/spec.ts -------------------------------------------------------------------------------- /examples/misc/simple/withValidation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/simple/withValidation.ts -------------------------------------------------------------------------------- /examples/misc/spec/valibot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/spec/valibot.ts -------------------------------------------------------------------------------- /examples/misc/spec/zod.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/spec/zod.ts -------------------------------------------------------------------------------- /examples/misc/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/misc/tsconfig.json -------------------------------------------------------------------------------- /examples/vite-react-openapi/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite-react-openapi/.gitignore -------------------------------------------------------------------------------- /examples/vite-react-openapi/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite-react-openapi/README.md -------------------------------------------------------------------------------- /examples/vite-react-openapi/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite-react-openapi/eslint.config.js -------------------------------------------------------------------------------- /examples/vite-react-openapi/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite-react-openapi/index.html -------------------------------------------------------------------------------- /examples/vite-react-openapi/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite-react-openapi/package.json -------------------------------------------------------------------------------- /examples/vite-react-openapi/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite-react-openapi/src/main.tsx -------------------------------------------------------------------------------- /examples/vite-react-openapi/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/vite-react-openapi/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite-react-openapi/tsconfig.app.json -------------------------------------------------------------------------------- /examples/vite-react-openapi/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite-react-openapi/tsconfig.json -------------------------------------------------------------------------------- /examples/vite-react-openapi/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite-react-openapi/tsconfig.node.json -------------------------------------------------------------------------------- /examples/vite-react-openapi/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite-react-openapi/vite.config.ts -------------------------------------------------------------------------------- /examples/vite/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite/.gitignore -------------------------------------------------------------------------------- /examples/vite/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite/index.html -------------------------------------------------------------------------------- /examples/vite/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite/package.json -------------------------------------------------------------------------------- /examples/vite/src/github/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite/src/github/spec.ts -------------------------------------------------------------------------------- /examples/vite/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite/src/main.ts -------------------------------------------------------------------------------- /examples/vite/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite/src/style.css -------------------------------------------------------------------------------- /examples/vite/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/vite/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite/tsconfig.json -------------------------------------------------------------------------------- /examples/vite/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/examples/vite/vite.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/package.json -------------------------------------------------------------------------------- /pkgs/docs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/.gitignore -------------------------------------------------------------------------------- /pkgs/docs/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/babel.config.js -------------------------------------------------------------------------------- /pkgs/docs/docs/01_overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/01_overview.md -------------------------------------------------------------------------------- /pkgs/docs/docs/02_getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/02_getting-started.md -------------------------------------------------------------------------------- /pkgs/docs/docs/03_api-specification.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/03_api-specification.md -------------------------------------------------------------------------------- /pkgs/docs/docs/04_client/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/04_client/_category_.json -------------------------------------------------------------------------------- /pkgs/docs/docs/04_client/overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/04_client/overview.md -------------------------------------------------------------------------------- /pkgs/docs/docs/04_client/validation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/04_client/validation.md -------------------------------------------------------------------------------- /pkgs/docs/docs/05_server/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/05_server/_category_.json -------------------------------------------------------------------------------- /pkgs/docs/docs/05_server/express.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/05_server/express.md -------------------------------------------------------------------------------- /pkgs/docs/docs/05_server/fastify.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/05_server/fastify.md -------------------------------------------------------------------------------- /pkgs/docs/docs/05_server/msw.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/05_server/msw.md -------------------------------------------------------------------------------- /pkgs/docs/docs/06_validation/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/06_validation/_category_.json -------------------------------------------------------------------------------- /pkgs/docs/docs/06_validation/concept.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/06_validation/concept.md -------------------------------------------------------------------------------- /pkgs/docs/docs/06_validation/standard-schema.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/06_validation/standard-schema.md -------------------------------------------------------------------------------- /pkgs/docs/docs/06_validation/valibot.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/06_validation/valibot.md -------------------------------------------------------------------------------- /pkgs/docs/docs/06_validation/zod.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/06_validation/zod.md -------------------------------------------------------------------------------- /pkgs/docs/docs/07_openapi.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/07_openapi.md -------------------------------------------------------------------------------- /pkgs/docs/docs/08_playground.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docs/08_playground.md -------------------------------------------------------------------------------- /pkgs/docs/docusaurus.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/docusaurus.config.ts -------------------------------------------------------------------------------- /pkgs/docs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/package.json -------------------------------------------------------------------------------- /pkgs/docs/sidebars.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/sidebars.ts -------------------------------------------------------------------------------- /pkgs/docs/src/components/HomepageFeatures/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/src/components/HomepageFeatures/index.tsx -------------------------------------------------------------------------------- /pkgs/docs/src/components/HomepageFeatures/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/src/components/HomepageFeatures/styles.module.css -------------------------------------------------------------------------------- /pkgs/docs/src/css/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/src/css/custom.css -------------------------------------------------------------------------------- /pkgs/docs/src/pages/index.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/src/pages/index.module.css -------------------------------------------------------------------------------- /pkgs/docs/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/src/pages/index.tsx -------------------------------------------------------------------------------- /pkgs/docs/src/pages/markdown-page.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/src/pages/markdown-page.md -------------------------------------------------------------------------------- /pkgs/docs/static/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkgs/docs/static/img/docusaurus-social-card.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/static/img/docusaurus-social-card.jpg -------------------------------------------------------------------------------- /pkgs/docs/static/img/docusaurus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/static/img/docusaurus.png -------------------------------------------------------------------------------- /pkgs/docs/static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/static/img/favicon.ico -------------------------------------------------------------------------------- /pkgs/docs/static/img/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/static/img/logo.svg -------------------------------------------------------------------------------- /pkgs/docs/static/img/typed-api-spec.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/static/img/typed-api-spec.png -------------------------------------------------------------------------------- /pkgs/docs/static/img/undraw_docusaurus_mountain.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/static/img/undraw_docusaurus_mountain.svg -------------------------------------------------------------------------------- /pkgs/docs/static/img/undraw_docusaurus_react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/static/img/undraw_docusaurus_react.svg -------------------------------------------------------------------------------- /pkgs/docs/static/img/undraw_docusaurus_tree.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/static/img/undraw_docusaurus_tree.svg -------------------------------------------------------------------------------- /pkgs/docs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/docs/tsconfig.json -------------------------------------------------------------------------------- /pkgs/typed-api-spec/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/.eslintrc.js -------------------------------------------------------------------------------- /pkgs/typed-api-spec/.gitignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /pkgs/typed-api-spec/.prettierignore: -------------------------------------------------------------------------------- 1 | dist 2 | coverage 3 | docs -------------------------------------------------------------------------------- /pkgs/typed-api-spec/.prettierrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /pkgs/typed-api-spec/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/package.json -------------------------------------------------------------------------------- /pkgs/typed-api-spec/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/readme.md -------------------------------------------------------------------------------- /pkgs/typed-api-spec/renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/renovate.json -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/compile-error-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/compile-error-utils.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/headers.t-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/headers.t-test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/headers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/headers.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/hono-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/hono-types.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/index.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/jsonschema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/jsonschema.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/openapi/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./openapi"; 2 | -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/openapi/openapi-valibot.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/openapi/openapi-valibot.test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/openapi/openapi-zod.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/openapi/openapi-zod.test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/openapi/openapi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/openapi/openapi.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/openapi/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/openapi/spec.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/query-string.t-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/query-string.t-test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/query-string.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/query-string.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/schema.t-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/schema.t-test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/schema.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/schema.test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/schema.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/spec.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/spec.test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/spec.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/type-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/type-test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/type.t-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/type.t-test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/type.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/url.t-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/url.t-test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/url.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/validator/request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/validator/request.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/validator/response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/validator/response.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/core/validator/validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/core/validator/validate.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/express/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/express/index.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/express/valibot.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/express/valibot.test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/express/zod.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/express/zod.test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/fastify/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/fastify/index.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/fetch/index.t-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/fetch/index.t-test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/fetch/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/fetch/index.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/fetch/new-fetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/fetch/new-fetch.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/fetch/validation.no-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/fetch/validation.no-test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/fetch/validation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/fetch/validation.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/index.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/json/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/json/index.test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/json/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/json/index.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/msw/http.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/msw/http.test.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/msw/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/msw/index.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/src/utils.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/tsconfig.json -------------------------------------------------------------------------------- /pkgs/typed-api-spec/tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/tsup.config.ts -------------------------------------------------------------------------------- /pkgs/typed-api-spec/vite.config.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/pkgs/typed-api-spec/vite.config.mts -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nota/typed-api-spec/HEAD/readme.md --------------------------------------------------------------------------------