jonthegeek / rapid

R 'API' documents
https://rapid.api2r.org/
Other
6 stars 1 forks source link

Better schema support #81

Open jonthegeek opened 10 months ago

jonthegeek commented 10 months ago

As a package developer, I'd like to take full advantage of schemas, so that I can specify expected objects.

The various schema objects in an APID are based on JSON schema. Maybe use {jsonvalidate}? Or maybe a separate jsonschema S7-based package? It's extensible (and extended by OAS), so deal with that.

In v1 I'm only using a subset of what's available, but it would be good to capture everything and make it available to package developers (or anybody else who wants that info), ie use it in beekeeper.