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
This property in the CreateImageRequest constructor is problematic because of the enum value.
"size": {
"enum": [
"256x256",
"512x512",
"1024x1024"
],
"type": "string",
"description": "The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.",
"default": "1024x1024",
"nullable": true,
"example": "1024x1024"
},
Created this constructor code in the model which fails to compile
The enum got generated correctly, but the default value did not get translated
darrelmiller
changed the title
Generation error
Generation error due to the use of a default value for an enum that contained invalid characters
Dec 19, 2022
Issue with OpenAI OpenAPI https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml
This property in the
CreateImageRequest
constructor is problematic because of the enum value.Created this constructor code in the model which fails to compile
The enum got generated correctly, but the default value did not get translated
The text was updated successfully, but these errors were encountered: