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.
image.png
Was this page helpful?