How do I set router properties on @cloudflare/itty-router-openapi
I am trying to set properties on the router for my API I am building on cloudflare, however I cannot seem to find any documentation about what properties/options the router has nor how to set them up such as the schema and security so that I can enforce apikey authentication in the headers. As you can see in the image it seems to have nothing but errors on it.
3 Replies
Currently do this and it is present in the docs ui but the example commands no longer work as they do not apply the key from authenticate into the commands
why arent the headers applying to the requests in the docs?
Is this right? or will this fail and not work with the docs too?