Skip to content

Commit a7f2d80

Browse files
authored
Merge pull request #50 from ni/users/pvallone/return-204s-where-appropriate
Replace 200 return codes with 204s per service changes
2 parents eed7720 + e78969f commit a7f2d80

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

message/nimessage.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ paths:
9999
schema:
100100
$ref: '#/definitions/Topic'
101101
responses:
102-
200:
102+
204:
103103
description: Success
104104
401:
105105
$ref: '#/responses/Unauthorized'
@@ -121,7 +121,7 @@ paths:
121121
schema:
122122
$ref: '#/definitions/Topic'
123123
responses:
124-
200:
124+
204:
125125
description: Success
126126
401:
127127
$ref: '#/responses/Unauthorized'
@@ -144,7 +144,7 @@ paths:
144144
schema:
145145
$ref: '#/definitions/TopicAndMessage'
146146
responses:
147-
200:
147+
204:
148148
description: Success
149149
401:
150150
$ref: '#/responses/Unauthorized'
@@ -183,7 +183,7 @@ paths:
183183
parameters:
184184
- $ref: '#/parameters/Token'
185185
responses:
186-
200:
186+
204:
187187
description: Success
188188
401:
189189
$ref: '#/responses/Unauthorized'
@@ -431,4 +431,4 @@ definitions:
431431
type: string
432432
example:
433433
action: unsubscribe
434-
topic: systemHealth
434+
topic: systemHealth

0 commit comments

Comments
 (0)