Assuming the docs at https://api.cloudflare.com/ are generated using this toolchain, where are the corresponding source schema definitions?
They would be useful when creating/maintaining Cloudflare api clients in other languages.
Found a reference to api.cloudflare.com/schemas/v4 but it doesn’t seem to be accessible.
Posted a github issue yesterday, no response.
Thanks!
- John
Are these hyper schemas published somewhere? Could not find them on the Cloudflare github. They would be extremely useful for generating client code.
They can be seen partially seen in an image on an old post [1] saved locally at ~/cf-repos/cf-api/schemas
. So close!
[1] CloudFlare's JSON-powered Documentation Generator
I figured out how to extract the original JSON schemas from the documentation bundle, take a look on Github (account: nxpub, project: Cloudflare-api-schemas), I cannot include the link properly yet (forum’s limitation), sorry.
1 Like