Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .spectral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ rules:
then:
function: enumeration
functionOptions:
values: ["200", "304", "400", "401", "403", "404", "500", "503"]
values: ["200", "302", "304", "400", "401", "403", "404", "500", "503"]

entur-delete-responses-validation:
message: "Invalid response code: {{property}}. DELETE responses MUST use one of these response codes: 200, 204, 400, 401, 403, 404, 409, 500, 503"
Expand Down
1 change: 1 addition & 0 deletions guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ Here, only 1 specification will be shown on the Developer Portal, which is a com
| 201 | Created | |:white_check_mark:|:white_check_mark:| | |
| 202 | Accepted | |:white_check_mark:| | | |
| 204 | No Content | |:white_check_mark:|:white_check_mark:|:white_check_mark:|:white_check_mark:|
| 302 | Found |:white_check_mark:| | | | |
| 303 | See Other | |:white_check_mark:| | | |
| 400 | Bad Request |:white_check_mark:|:white_check_mark:|:white_check_mark:|:white_check_mark:|:white_check_mark:|
| 401 | Unauthorized |:white_check_mark:|:white_check_mark:|:white_check_mark:|:white_check_mark:|:white_check_mark:|
Expand Down
Loading