diff --git a/.spectral.yml b/.spectral.yml index c457287..d13bc69 100644 --- a/.spectral.yml +++ b/.spectral.yml @@ -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" diff --git a/guidelines.md b/guidelines.md index 6a579a6..8c4c8c8 100644 --- a/guidelines.md +++ b/guidelines.md @@ -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:|