better format

This commit is contained in:
William Cheng 2025-01-14 14:22:52 +08:00
parent 754207a636
commit 19f307d6cd

View File

@ -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.