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
When i parse the openapi.json with kin-openapi tools, the error was :panic: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal bool into Go struct field TBis.paths of type []string. I confirmed that is was cause by
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The link provided by the user, used for converting to QRcode.",
"required": true-----this property cause,by this plugin is valid in openai plugin center,why?
},
"darkColor": {
"type": "string",
"description": "The default value is #000000, color of the dark module. The value must be in hex format (RGB)."
}
And if i remove "required": true to the properties level ,and changed to array, it was validated passed with kin-openai, why it is a valid yaml in openai?3.0.1 or 3.1.0 specs?
The text was updated successfully, but these errors were encountered:
Such as plugin like this:
https://qr.mixerbox.com/.well-known/openapi.json
When i parse the openapi.json with kin-openapi tools, the error was :panic: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal bool into Go struct field TBis.paths of type []string. I confirmed that is was cause by
And if i remove "required": true to the
properties
level ,and changed to array, it was validated passed with kin-openai, why it is a valid yaml in openai?3.0.1 or 3.1.0 specs?The text was updated successfully, but these errors were encountered: