Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

As per Whoop documentation the OpenAPI specification can be viewed at this link.

Loading

I want to load the .json file for easy exploration, but had the issues below.

Postman

Uploading on Postman, results in the error Incorrect format: We don’t recognize/support this format. without any details.

Swagger Editor

Uploading the specification on https://editor.swagger.io/, I was able to view the error, version is missing.

image

Solution

For now, one needs to add the version property manually into the .json file in the info section.

Before the change

{
  // Content before this section.
  "info" : {
    "title" : "WHOOP API"
  },
  // Content before this section.

After the change

  // Content before this section.
  "info": {
    "title": "WHOOP API",
    "version": "2.0.0"
  }
  // Content before this section.

Next actions

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.