APIs-guru / openapi-directory

🌐 Wikipedia for Web APIs. Directory of REST API definitions in OpenAPI 2.0/3.x format
https://apis.guru/
Creative Commons Zero v1.0 Universal
3.86k stars 578 forks source link

Add "Weatherbit.io" API #263

Closed hkosova closed 6 years ago

hkosova commented 7 years ago

Format: OpenAPI(fka Swagger) 2.0 Official: YES Url: https://www.weatherbit.io/static/swagger.json Name: Weatherbit.io Valid: No - might be automatically patched by scripts

MikeRalphson commented 7 years ago
{
  "name": "SyntaxError",
  "message": "Validation failed. /paths/bulk/{file}.json.gz/get is missing path parameter(s) for {file}",
  "stack": "SyntaxError: Validation failed. /paths/bulk/{file}.json.gz/get is missing path parameter(s) for {file}"
}
hkosova commented 7 years ago

Oops, Swagger Editor missed that.

From the operation desciption it looks like it should be:

- in: path
  name: file
  required: true
  type: string
  enum:
    - current
    - forecast16d

but it's a third-party API so I'm not sure. :woman_shrugging:

MikeRalphson commented 6 years ago

Looks like error was fixed upstream. Added, many thanks!