Skip to content

Commit

Permalink
fix copy-paste error in req-valid
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdbosch committed Nov 27, 2023
1 parent 4a2f609 commit 4249a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/src/main/asciidoc/api_specifications.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ Other uses of `additionalProperties` than for maps are to be avoided, in order t
[rule, req-valid]
.Unknown input
====
An API SHOULD refuse unknown input, i.e. unknown body (JSON), path properties in the payload or unknown query request parameters. A <<Bad Request, Bad Request>> problem response should be returned with an issue of type `urn:problem-type:belgif:input-validation:unknownInput`.
An API SHOULD refuse unknown input, i.e. unknown body (JSON) properties in the payload or unknown query request parameters. A <<Bad Request, Bad Request>> problem response should be returned with an issue of type `urn:problem-type:belgif:input-validation:unknownInput`.
If an operation does allow and process input that is not defined in OpenAPI, its description should explicitly indicate this.
Expand Down

0 comments on commit 4249a81

Please sign in to comment.