cycleplatform / api-spec

OpenAPI spec files for Cycle APIs
Other
3 stars 0 forks source link

Cleanup incorrect fields #211

Closed mattoni closed 11 months ago

mattoni commented 11 months ago

Some additional minor corrections to the spec on incorrect fields. Of note, it turns out in the OpenAPI spec, that 'explode: true' is the default for query params with array values. This means it's not technically correct for Cycle's API without 'explode: false' on things like includes. We'll need to later update all of these (and perhaps standardize?) to make this accurate. I noticed this while implementing our CLI, where only the first includes value was being respected.