chanfana icon indicating copy to clipboard operation
chanfana copied to clipboard

OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more!

Results 41 chanfana issues
Sort by recently updated
recently updated
newest added

If, for example, you mount itty-router-openapi as a child endpoint inside a hono application, for e.g: ```ts import { OpenAPIRouter } from '@cloudflare/itty-router-openapi' import { Hono } from 'hono' //...

I'm trying to use DataOf on a project, and TypeScript keeps resolving everything to `any`. For example, I have: ``` requestBody: z.object({ address: z.string(), chainId: z.string(), token: z.string(), }), ```...

For Swagger UI it's really neat to have example to run trough your API, as of right now this allows to make use of them via the .default() method, is...

Similar as https://cloudflare.github.io/itty-router-openapi/user-guide/request-body/ it would be great to have Response body validation. Maybe in a different manner as this is maybe less suited for Runtime errors, but instead for compile...

Is it possible to generate a openapi yaml schema file from the command line? Eg running a npm command? Without the server running. Rationale: In development workflow I would like...

Are there plans to upgrade itty-router 5?

This issue is for discussing the refactoring of this project to resolve issues and improve the developer experience. Here will be laid out topics and their potential improvements if any....

I see that PRs are generally merged, but there are quite a few open issues. The statement is that this package is used in production in Cloudflare Radar. Radar is...

I have added an api key to my router so that when you go to docs a new authorise button appears, however when you try to make a request, it...

To accommodate diverse client preferences, I propose introducing content negotiation. This feature allows clients to request their preferred content format (e.g., JSON, XML, HTML) via the Accept header, enabling the...