treflehq / trefle-api

🍀 Trefle is a botanical JSON REST API for plants species, allowing you to search and query over all the registered species, and build the next gardening apps and farming robots.
https://trefle.io
GNU Affero General Public License v3.0
485 stars 51 forks source link

swagger.yaml isn't valid OpenAPI 3.0 #51

Closed MikeRalphson closed 3 years ago

MikeRalphson commented 4 years ago

Describe the bug The published swagger.yaml isn't valid according to the OpenAPI 3.0 specification.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://petstore.swagger.io
  2. Import https://docs.trefle.io/swagger.yaml
  3. Scroll down to Invalid at the bottom of the page
  4. Click to see errors (type properties on parameters etc)

Expected behavior The swagger.yaml should pass OpenAPI 3.0 validation for improved interoperability.

lambda2 commented 4 years ago

Thanks ! We'll take a look !