Skip to content

Commit

Permalink
[#171487131] Fix specs (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgpeppe authored Mar 19, 2020
1 parent aa46022 commit b9bd960
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions openapi/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,11 @@ paths:
schema:
$ref: "#/definitions/SubscriptionKeys"
"400":
description: Subscription not found
description: Bad request
"403":
description: Forbidden
"404":
description: Subscription not found
"500":
description: Internal server error
put:
Expand All @@ -264,9 +266,11 @@ paths:
schema:
$ref: "#/definitions/SubscriptionKeys"
"400":
description: Subscription not found
description: Bad request
"403":
description: Forbidden
"404":
description: Subscription not found
"500":
description: Internal server error
/users:
Expand All @@ -291,10 +295,11 @@ paths:
parameters:
- name: body
in: body
required: true
schema:
$ref: "#/definitions/UserPayload"
responses:
"201":
"200":
description: The new User
schema:
$ref: "#/definitions/UserCreated"
Expand Down Expand Up @@ -343,6 +348,7 @@ paths:
description: The email of the User
- name: body
in: body
required: true
schema:
$ref: "#/definitions/UserGroupsPayload"
responses:
Expand Down Expand Up @@ -377,6 +383,7 @@ paths:
description: The id of the Subscription
- name: body
in: body
required: true
schema:
$ref: "#/definitions/ProductNamePayload"
responses:
Expand Down

0 comments on commit b9bd960

Please sign in to comment.