HDFGroup / hdf-rest-api

12 stars 5 forks source link

Open api fixes #7

Closed bilalshaikh42 closed 3 years ago

bilalshaikh42 commented 3 years ago
  1. Removes the explicit definition of "Accept" header. This is done via the content-type. See here.

Note: Header parameters named Accept, Content-Type and Authorization are not allowed. To describe these headers, use the corresponding OpenAPI keywords:

  1. Changes some 'any' types defined as strings to the correct '{}' type.

  2. Updates to open API 3.1. Mostly involves changing all the "example" fields to "examples"

  3. Adds a Github Actions workflow to validate the specification (currently failing)

bilalshaikh42 commented 3 years ago

@jreadey There are quite a few changes in the diff, but I summarized them in the comment above. Let me know if you have any questions.

Thanks, Bilal

jreadey commented 3 years ago

Awesome! Thanks for the updates.