CB
CB
CDCloudflare Developers
Created by CB on 11/13/2023 in #workers-help
I can generate OpenAPI from workers... but can I generate worker scaffolding from OpenAPI spec?
The itty-router-openapi lib makes it easy to generate openAPI specs from workers if you code with that. But is there a library to go the other way, where I can generate all my API scaffolding on workers when I already have an OpenAPI spec?
1 replies
CDCloudflare Developers
Created by CB on 7/31/2023 in #workers-help
Local development with service bindings gives error when calling service
I am developing a worker locally using a service binding to another worker. When I call the fetch function of the bound worker (running in another terminal with wrangler dev) I get an error from worker middleware saying 'Invalid URL String` The url I am passing is just cloned from the original request... has anyone seen this before?
6 replies