Skip to content

Commit

Permalink
Add explanation of allow_blank_structures to README
Browse files Browse the repository at this point in the history
  • Loading branch information
chibicco committed May 11, 2024
1 parent 6de7583 commit 0d63bfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ This piece of middleware validates the parameters of incoming requests to make s

| name | Hyper-Schema | OpenAPI 3 | Description |
|-----------:|------------:|------------:| :------------ |
|allow_blank_structures | false | always true | Allow Empty Response Body. supported on Hyper-schema parser but will default to true in next major version. |
|allow_form_params | true | true | Specifies that input can alternatively be specified as `application/x-www-form-urlencoded` parameters when possible. This won't work for more complex schema validations. |
|allow_get_body | true | false | Allow GET request body, which merge to request parameter. See (#211) |
|allow_query_params | true | true | Specifies that query string parameters will be taken into consideration when doing validation. |
Expand Down

0 comments on commit 0d63bfd

Please sign in to comment.