Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid schema generation #223

Open
soenneker opened this issue Jan 8, 2025 · 2 comments
Open

Invalid schema generation #223

soenneker opened this issue Jan 8, 2025 · 2 comments

Comments

@soenneker
Copy link

soenneker commented Jan 8, 2025

Hello @G4brym,

I assume that this code is used to generate these schemas for Cloudflare? (https://github.com/cloudflare/api-schemas) ?

The linters/tools I've used (spectral, openapi-generator, etc) say there are about a half dozen errors, and they are preventing me from using it.

image

as one example.

redocly:

image

Thanks

@G4brym
Copy link
Member

G4brym commented Jan 8, 2025

Hey @soenneker chanfana is only used to generate openapi docs for a few Cloudflare products, like workers ai, ai gateway etc
From your example image, hyperdrive doesn't use chanfana
I will try to find someone who takes care of theses schemas and raise this issue internally

@soenneker
Copy link
Author

@G4brym Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants