OpenAPI Schema

Hi, I'm trying to use the Cloudflare API and would like to use an OpenAPI generator to generate types. It's failing on the exported schema (both the original and bundled, I wasn't sure which to use) using the library I normally use: https://github.com/drwpow/openapi-typescript
TypeError: Cannot use 'in' operator to search for '$ref' in null
TypeError: Cannot use 'in' operator to search for '$ref' in null
I've tried a couple other libraries and they are not working either. I know I've gotten it to work in the past though
GitHub
GitHub - drwpow/openapi-typescript: Generate TypeScript types from ...
Generate TypeScript types from OpenAPI 3 specs. Contribute to drwpow/openapi-typescript development by creating an account on GitHub.
0 Replies
No replies yetBe the first to reply to this messageJoin