apisyouwonthate / style-guide

A shared and somewhat opinionated style guide for everyone to enjoy.
141 stars 20 forks source link

Fix syntax on get no body for formats #14

Closed daniellehanks closed 2 years ago

daniellehanks commented 2 years ago

Current master branch fails to run with the following error (spectral cli 6.1.0, works fine with 5.7.1):

Error at #/rules/request-GET-no-body-oas2: must NOT have additional properties
Error at #/rules/request-GET-no-body-oas3: must NOT have additional properties

format should be formats. https://meta.stoplight.io/docs/spectral/ZG9jOjYyMDc0NA-rulesets#formats

daniellehanks commented 2 years ago

@philsturgeon are you a good reviewer for this? Broken in this commit.

philsturgeon commented 2 years ago

Thank you!