File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,17 @@ overrides:
45
45
rules :
46
46
must-always-return-json-objects-as-top-level-data-structures : warn
47
47
- files :
48
- - ' model-server-v2.yaml#/components/responses/modelql-404 '
48
+ - ' model-server-v2.yaml#/components/responses/ModelQlQueryExecutionFailed '
49
49
rules :
50
50
must-use-problem-json-for-errors : warn
51
+ # We continue using 409 instead of 400 to not make breaking changes.
52
+ # When introducing code 409,
53
+ # we were not aware that it was considered an uncommon status code
54
+ # and that uncommon codes should not be used.
55
+ # See https://opensource.zalando.com/restful-api-guidelines/#150
56
+ must-use-standard-http-status-codes : warn
57
+ # Plain text instead of a JSON object is also still used to avoid breaking changes.
58
+ must-always-return-json-objects-as-top-level-data-structures : warn
51
59
- files :
52
60
- ' model-server-v1.yaml#/paths/~1getAll'
53
61
- ' model-server-v1.yaml#/paths/~1getEmail'
You can’t perform that action at this time.
0 commit comments