Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
carnage authored Dec 16, 2022
1 parent 84199f5 commit 379d69c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ You can precede it with your own custom middleware or precede it with one of the

#### Nested Json Response

The `ResponseJsonNested` MUST precede the `RequestValidation` middleware
The `ResponseJsonNested` MUST follow the `RequestValidation` middleware
as it relies on the container containing the result.
It will check whether the request has passed or failed validation.
Invalid requests will return a response detailing the reasons the request was invalid.

#### Flat Json Response

The `ResponseJsonFlat` MUST precede the `RequestValidation` middleware
The `ResponseJsonFlat` MUST follow the `RequestValidation` middleware
as it relies on the container containing the result.
It will check whether the request has passed or failed validation.
Invalid requests will return a response detailing the reasons the request was invalid.
Expand Down

0 comments on commit 379d69c

Please sign in to comment.