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.
No description
3 Replies
JCo
JCoOP10mo ago
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
No description
JCo
JCoOP10mo ago
why arent the headers applying to the requests in the docs?
JCo
JCoOP10mo ago
Is this right? or will this fail and not work with the docs too?
No description
No description
Want results from more Discord servers?
Add your server