forked from loafle/openapi-generator-original
better format
This commit is contained in:
parent
754207a636
commit
19f307d6cd
@ -432,12 +432,12 @@ public class ModelUtils {
|
|||||||
* <p>
|
* <p>
|
||||||
* <p>
|
* <p>
|
||||||
* type: object
|
* type: object
|
||||||
* additionalProperties: false
|
* additionalProperties: false
|
||||||
* properties:
|
* properties:
|
||||||
* name:
|
* name:
|
||||||
* type: string
|
* type: string
|
||||||
* address:
|
* address:
|
||||||
* type: string
|
* type: string
|
||||||
*
|
*
|
||||||
* @param schema the OAS schema
|
* @param schema the OAS schema
|
||||||
* @return true if the specified schema is an Object schema.
|
* @return true if the specified schema is an Object schema.
|
||||||
@ -540,15 +540,15 @@ public class ModelUtils {
|
|||||||
* <p>
|
* <p>
|
||||||
* type: object
|
* type: object
|
||||||
* additionalProperties:
|
* additionalProperties:
|
||||||
* type: object
|
* type: object
|
||||||
* properties:
|
* properties:
|
||||||
* code:
|
* code:
|
||||||
* type: integer
|
* type: integer
|
||||||
* <p>
|
* <p>
|
||||||
* allOf:
|
* allOf:
|
||||||
* - $ref: '#/components/schemas/Class1'
|
* - $ref: '#/components/schemas/Class1'
|
||||||
* - $ref: '#/components/schemas/Class2'
|
* - $ref: '#/components/schemas/Class2'
|
||||||
* additionalProperties: true
|
* additionalProperties: true
|
||||||
*
|
*
|
||||||
* @param schema the OAS schema
|
* @param schema the OAS schema
|
||||||
* @return true if the specified schema is a Map schema.
|
* @return true if the specified schema is a Map schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user