cloudflare / chanfana

OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more!
https://chanfana.pages.dev
MIT License
288 stars 38 forks source link

Api docs generation is not working when nested routes. #30

Closed truwater closed 1 year ago

truwater commented 1 year ago

Routing works well with the following code.

parentRouter.all('/child/*', childRouter.handle)

But api docs generation is not working.

G4brym commented 1 year ago

Hey @truwater i've just added support for nested routers in the latest release (v0.1.0) You can see an example snippet here