Skip to content

operation ids are optional, but swagger-js dies if not present #327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fehguy opened this issue Mar 27, 2015 · 0 comments
Closed

operation ids are optional, but swagger-js dies if not present #327

fehguy opened this issue Mar 27, 2015 · 0 comments
Milestone

Comments

@fehguy
Copy link
Contributor

fehguy commented Mar 27, 2015

for example, this will fail:

{
  "swagger": "2.0",
  "info": {
    "version": "1.0.0",
    "title": "Title was not specified"
  },
  "paths": {
    "/pets": {
      "get": {
        "description": "",
        "responses": {
          "200": {
            "description": "Return all pets"
          }
        }
      }
    }
  }
}
@fehguy fehguy added this to the v2.1-M2 milestone Mar 27, 2015
fehguy added a commit that referenced this issue Mar 27, 2015
@fehguy fehguy closed this as completed Mar 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant