@orval/hono 6.26.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/README.md ADDED
@@ -0,0 +1,29 @@
1
+ [![npm version](https://badge.fury.io/js/orval.svg)](https://badge.fury.io/js/orval)
2
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
3
+ [![tests](https://github.com/anymaniax/orval/actions/workflows/tests.yaml/badge.svg)](https://github.com/anymaniax/orval/actions/workflows/tests.yaml)
4
+
5
+ <p align="center">
6
+ <img src="./logo/orval-logo-horizontal.svg?raw=true" width="500" height="160" alt="orval - Restfull Client Generator" />
7
+ </p>
8
+ <h1 align="center">
9
+ Visit <a href="https://orval.dev" target="_blank">orval.dev</a> for docs, guides, API and beer!
10
+ </h1>
11
+
12
+ ### Code Generation
13
+
14
+ `orval` is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in `yaml` or `json` formats.
15
+
16
+ `Generate`, `valid`, `cache` and `mock` in your React, Vue, Svelte and Angular applications all with your OpenAPI specification.
17
+
18
+ ### Samples
19
+
20
+ You can find below some samples
21
+
22
+ - [react app](https://github.com/anymaniax/orval/tree/master/samples/react-app)
23
+ - [react query](https://github.com/anymaniax/orval/tree/master/samples/react-query)
24
+ - [svelte query](https://github.com/anymaniax/orval/tree/master/samples/svelte-query)
25
+ - [vue query](https://github.com/anymaniax/orval/tree/master/samples/vue-query)
26
+ - [react app with swr](https://github.com/anymaniax/orval/tree/master/samples/react-app-with-swr)
27
+ - [nx fastify react](https://github.com/anymaniax/orval/tree/master/samples/nx-fastify-react)
28
+ - [angular app](https://github.com/anymaniax/orval/tree/master/samples/angular-app)
29
+ - [hono](https://github.com/anymaniax/orval/tree/master/samples/hono)
@@ -0,0 +1,10 @@
1
+ import { GeneratorDependency, ClientHeaderBuilder, ClientFooterBuilder, ClientBuilder, ClientExtraFilesBuilder, ClientGeneratorsBuilder } from '@orval/core';
2
+
3
+ declare const getHonoDependencies: () => GeneratorDependency[];
4
+ declare const getHonoHeader: ClientHeaderBuilder;
5
+ declare const getHonoFooter: ClientFooterBuilder;
6
+ declare const generateHono: ClientBuilder;
7
+ declare const generateExtraFiles: ClientExtraFilesBuilder;
8
+ declare const builder: () => () => ClientGeneratorsBuilder;
9
+
10
+ export { builder, builder as default, generateExtraFiles, generateHono, getHonoDependencies, getHonoFooter, getHonoHeader };