cloudflare / cloudflare/chanfana
Invalid schema generation
- Dominant language
- TypeScript
- Stars
- 766
- Forks
- 70
- Avg merge
- 25m
- Merged PRs (30d)
- 4
Description
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.

as one example.
redocly:

Thanks
Contributor guide
Research direction
Start by inspecting the schema generation path in this repository and compare its output with the Cloudflare api-schemas repository. Run Spectral, openapi-generator, or Redocly against the generated schemas and identify the reported errors. Done means the generated schemas pass the relevant validators and remain usable by OpenAPI tooling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, typescript
- Domain
- api, backend-api-design
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100