File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2587,6 +2587,8 @@ components:
25872587 oneOf :
25882588 - $ref : ' #/components/schemas/ImageResponseDataB64'
25892589 - $ref : ' #/components/schemas/ImageResponseDataUrl'
2590+ discriminator :
2591+ propertyName : type
25902592 required :
25912593 - id
25922594 - model
@@ -2595,21 +2597,27 @@ components:
25952597
25962598 ImageResponseDataB64 :
25972599 type : object
2598- required : [index, b64_json]
2600+ required : [index, b64_json, type ]
25992601 properties :
26002602 index :
26012603 type : integer
26022604 b64_json :
26032605 type : string
2606+ type :
2607+ type : string
2608+ enum : [b64_json]
26042609
26052610 ImageResponseDataUrl :
26062611 type : object
2607- required : [index, url]
2612+ required : [index, url, type ]
26082613 properties :
26092614 index :
26102615 type : integer
26112616 url :
26122617 type : string
2618+ type :
2619+ type : string
2620+ enum : [url]
26132621
26142622 JobInfoSuccessResponse :
26152623 type : object
You can’t perform that action at this time.
0 commit comments