You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// # A request that is malformed is rejected with HTTP 400 Bad Request (with no request body), and is then logged by the ErrorHandlerWithOpts
773
-
// ErrorHandlerWithOpts: A RequestError was returned when attempting to validate the request to POST /resource: request body has an error: value is required but missing
774
-
// This operation has a request body, which was required
775
-
// There was a child error, which was an unknown type (*errors.errorString)
792
+
// ErrorHandlerWithOpts: A MultiError was encountered, which contained a RequestError: request body has an error: value is required but missing, which inside it has a error of type (openapi3.MultiError)
776
793
// Received an HTTP 400 response. Expected HTTP 400
777
-
// Response body: A bad request was made - but I'm not going to tell you where or how
794
+
// Response body: There was a bad request
778
795
//
779
796
// # A request that is malformed is rejected with HTTP 400 Bad Request (with an invalid request body, with multiple issues), and is then logged by the ErrorHandlerWithOpts
780
-
// ErrorHandlerWithOpts: A RequestError was returned when attempting to validate the request to POST /resource: request body has an error: doesn't match schema: Error at "/id": minimum string length is 100
797
+
// ErrorHandlerWithOpts: A MultiError was encountered, which contained a RequestError: request body has an error: doesn't match schema: Error at "/id": minimum string length is 100
781
798
// Schema:
782
799
// {
783
800
// "minLength": 100,
@@ -786,9 +803,18 @@ paths:
786
803
//
787
804
// Value:
788
805
// "not-long-enough"
806
+
// | Error at "/name": value is not one of the allowed values ["Marcin"]
807
+
// Schema:
808
+
// {
809
+
// "enum": [
810
+
// "Marcin"
811
+
// ],
812
+
// "type": "string"
813
+
// }
789
814
//
790
-
// This operation has a request body, which was required
791
-
// There was a child error, which was a SchemaError, which failed to validate on the minLength field
815
+
// Value:
816
+
// "Jamie"
817
+
// , which inside it has a error of type (openapi3.MultiError)
792
818
// Received an HTTP 400 response. Expected HTTP 400
793
-
// Response body: A bad request was made - but I'm not going to tell you where or how
0 commit comments