Skip to content

Commit

Permalink
Added operation ids to simply access via swagger-client
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfede committed Oct 3, 2016
1 parent 1f75af7 commit e850a1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"/questions": {
"get": {
"summary": "Retrieve a list of Questions",
"operationId": "list",
"responses": {
"200": {
"description": "List of matching questions",
Expand All @@ -49,6 +50,7 @@
},
"post": {
"summary": "Create a new Question",
"operationId": "create",
"parameters": [
{
"description": "The Question to be created",
Expand Down Expand Up @@ -86,6 +88,7 @@
"/questions/{id}": {
"get": {
"summary": "Retrieve a Question by id",
"operationId": "get",
"parameters": [
{
"$ref": "#/parameters/id"
Expand Down

0 comments on commit e850a1d

Please sign in to comment.