Skip to content

Commit

Permalink
200s coming to a patch near you
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewDonkin-Gallagher committed Oct 17, 2023
1 parent 4d76ef8 commit a222966
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
32 changes: 32 additions & 0 deletions ref/cardholders.html
Original file line number Diff line number Diff line change
Expand Up @@ -2620,6 +2620,14 @@ <h2 class="operation-title">
<div class="doc-row">
<div class="doc-copy">
<section class="swagger-responses">
<div class="prop-row prop-group">
<div class="prop-name">
<div class="prop-title">200 OK</div>
</div>
<div class="prop-value">
<p>Success. The response body will contain feedback from the server.</p>
</div>
</div>
<div class="prop-row prop-group">
<div class="prop-name">
<div class="prop-title">204 No Content</div>
Expand Down Expand Up @@ -3053,6 +3061,14 @@ <h5>Request Example</h5>
<div class="doc-row">
<div class="doc-copy">
<section class="swagger-responses">
<div class="prop-row prop-group">
<div class="prop-name">
<div class="prop-title">200 OK</div>
</div>
<div class="prop-value">
<p>Success. The response body will contain feedback from the server.</p>
</div>
</div>
<div class="prop-row prop-group">
<div class="prop-name">
<div class="prop-title">204 No Content</div>
Expand Down Expand Up @@ -5851,6 +5867,14 @@ <h2 class="operation-title">
<div class="doc-row">
<div class="doc-copy">
<section class="swagger-responses">
<div class="prop-row prop-group">
<div class="prop-name">
<div class="prop-title">200 OK</div>
</div>
<div class="prop-value">
<p>Success. The response body will contain feedback from the server.</p>
</div>
</div>
<div class="prop-row prop-group">
<div class="prop-name">
<div class="prop-title">204 No Content</div>
Expand Down Expand Up @@ -8670,6 +8694,14 @@ <h5>Request Example</h5>
<div class="doc-row">
<div class="doc-copy">
<section class="swagger-responses">
<div class="prop-row prop-group">
<div class="prop-name">
<div class="prop-title">200 OK</div>
</div>
<div class="prop-value">
<p>Success. The response body will contain feedback from the server.</p>
</div>
</div>
<div class="prop-row prop-group">
<div class="prop-name">
<div class="prop-title">204 No Content</div>
Expand Down
4 changes: 4 additions & 0 deletions swagger/cardholdersApi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5914,6 +5914,7 @@ paths:
type: integer
description: "The amount to adjust the competency credit. This can be positive or negative."
responses:
200: { description: "Success. The response body will contain feedback from the server." }
204: { description: "Success." }
403: { description: "The operator does not have a privilege that allows editing that cardholder." }
404: { description: "The parameters are invalid." }
Expand Down Expand Up @@ -6072,6 +6073,7 @@ paths:
style from the linked example, which contains `access_zones` in the URL rather than
`items`, because it came from the items controller. Both styles work.
responses:
200: { description: "Success. The response body will contain feedback from the server." }
204:
description: "Success."
400:
Expand Down Expand Up @@ -6892,6 +6894,7 @@ paths:
parameters:
- {in: path, name: id, required: true, description: "The ID of the locker to open.", type: string}
responses:
200: { description: "Success. The response body will contain feedback from the server." }
204: { description: Success. }
403:
description: |
Expand Down Expand Up @@ -7537,6 +7540,7 @@ paths:
This must contain a block called `status` containing a string called `value`, giving your
desired state of the visitor.
responses:
200: { description: "Success. The response body will contain feedback from the server." }
204:
description: "Success."
400:
Expand Down

0 comments on commit a222966

Please sign in to comment.