-
```sh
✘ [ERROR] Error on remote worker: ParseError: A request to the Cloudflare API (/accounts//workers/scripts/youwave-worker/edge-preview) failed.
at throwFetchError
(/home/chientrm/you…
-
## Describe the Issue
In previous versions (3.x and lower) it was possible to have optional route paths using the following pattern`/(api?)/v1/my-route`.
So making a GET request on both `/api/v1/m…
-
It'd be great to have support for `minLength` and `maxLength`.
Specially when you have a limit for a column in the database, it'd be nice to have the API to limit the value already and not have to …
-
## Describe the Issue
A clear and concise description of what the issue is.
Hey :wave: I'm using itty-router and Bun to build a tiny API and am encountering an issue when using nested routers. T…
-
If the main router has `base` set, going to `//docs` renders
![failed-to-load-api-def](https://github.com/cloudflare/itty-router-openapi/assets/107296949/fd232773-99b7-4f58-b1d4-29def237da84)
an…
-
Hello, i am trying to use itty-router v3.0.11 on node 18.16.0 on docker and i got following error from it:
```
Error [ERR_INTERNAL_ASSERTION]: Error [ERR_INTERNAL_ASSERTION]: TypeError: o.toUpperC…
-
## Describe the Issue
There is no documentation regarding how to change the status code of the response with `json` helper function (e.g. 201).
## Example Router Code
```ts
router.post("/", …
-
``` ts
import { Router } from "itty-router";
import { createCors } from "itty-cors";
// create CORS handlers
const { preflight, corsify } = createCors({});
// Create a new router
const route…
-
Had to jump through a few hoops to get this working, could be useful for others. The return type of the handler could use stronger typing...
```ts
import type {
ExportedHandlerFetchHandler,
…
-
As OpenAPI Specification described [here](https://swagger.io/specification/v3/#response-object), the `content type` of the response is customizable.
https://github.com/cloudflare/itty-router-openap…