© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•2y ago•
3 replies
JCo

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
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

form data with itty-router-openapi
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Specifying multiple content-types in itty-router-openapi responses
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
itty-router query params
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
How do I use Cloudflare's react-router RequestHandler?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
9mo ago