Skip to content

Commit de2c55a

Browse files
authored
Update README.md
1 parent d106716 commit de2c55a

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -136,27 +136,27 @@ type Config struct {
136136
}
137137

138138
type HandlerConfig struct {
139-
// ContentType sets the Content-Type header of the response.
140-
// Optional. Defaults to "application/json".
141-
ContentType string
142-
143-
// ValidatorKey defines the key that will be used to read the
144-
// *openapi3filter.RequestValidationInput from the echo.Context
145-
// set by the middleware.
146-
// Optional. Defaults to "validator".
147-
ValidatorKey string
148-
149-
// ExcludeRequestBody makes Validate skips request body validation.
150-
// Optional. Defaults to false.
151-
ExcludeRequestBody bool
152-
153-
// ExcludeResponseBody makes Validate skips response body validation.
154-
// Optional. Defaults to false.
155-
ExcludeResponseBody bool
156-
157-
// IncludeResponseStatus so ValidateResponse fails on response
158-
// statuses not defined in the OpenAPI spec.
159-
// Optional. Defaults to true.
160-
IncludeResponseStatus bool
139+
// ContentType sets the Content-Type header of the response.
140+
// Optional. Defaults to "application/json".
141+
ContentType string
142+
143+
// ValidatorKey defines the key that will be used to read the
144+
// *openapi3filter.RequestValidationInput from the echo.Context
145+
// set by the middleware.
146+
// Optional. Defaults to "validator".
147+
ValidatorKey string
148+
149+
// ExcludeRequestBody makes Validate skips request body validation.
150+
// Optional. Defaults to false.
151+
ExcludeRequestBody bool
152+
153+
// ExcludeResponseBody makes Validate skips response body validation.
154+
// Optional. Defaults to false.
155+
ExcludeResponseBody bool
156+
157+
// IncludeResponseStatus so ValidateResponse fails on response
158+
// statuses not defined in the OpenAPI spec.
159+
// Optional. Defaults to true.
160+
IncludeResponseStatus bool
161161
}
162162
```

0 commit comments

Comments
 (0)