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
Copy file name to clipboardExpand all lines: errors/parameters_howtofix.go
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,14 +15,17 @@ const (
15
15
HowToFixInvalidXmlstring="Ensure xml is well-formed and matches schema structure"
16
16
HowToFixXmlPrefixstring="Make sure to prepend the correct prefix '%s' to the declared fields"
17
17
HowToFixXmlNamespacestring="Make sure to declare the 'xmlns:%s' with the correct namespace URI"
18
+
HowToFixFormDataReservedCharactersstring="Make sure to correcly encode specials characters to percent encoding, or set allowReserved to true"
18
19
HowToFixInvalidSchemastring="Ensure that the object being submitted, matches the schema correctly"
20
+
HowToFixInvalidTypeEncodingstring="Ensure that the object being submitted matches the property encoding Content-Type"
19
21
HowToFixParamInvalidSpaceDelimitedObjectExplodestring="When using 'explode' with space delimited parameters, "+
20
22
"they should be separated by spaces. For example: '%s'"
21
23
HowToFixParamInvalidPipeDelimitedObjectExplodestring="When using 'explode' with pipe delimited parameters, "+
22
24
"they should be separated by pipes '|'. For example: '%s'"
23
25
HowToFixParamInvalidDeepObjectMultipleValuesstring="There can only be a single value per property name, "+
24
26
"deepObject parameters should contain the property key in square brackets next to the parameter name. For example: '%s'"
25
27
HowToFixInvalidJSONstring="The JSON submitted is invalid, please check the syntax"
28
+
HowToFixInvalidUrlEncodedstring="Ensure URL Encoded submitted is well-formed and matches schema structure"
26
29
HowToFixDecodingErrorstring="The object can't be decoded, so make sure it's being encoded correctly according to the spec."
27
30
HowToFixInvalidContentTypestring="The content type is invalid, Use one of the %d supported types for this operation: %s"
28
31
HowToFixInvalidResponseCodestring="The service is responding with a code that is not defined in the spec, fix the service or add the code to the specification"
0 commit comments