Closed fsahler closed 1 year ago
Hi, Here is a sample code:
_@ApiResponse(responseCode = "400", description = RC_400,
content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, schema = @Schema (type = "string", maxLength = 200, minLength = 10, pattern = "[a-zA-Z]", implementation = Error.class))),_
content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE,
schema = @Schema (type = "string", maxLength = 200, minLength = 10, pattern = "[a-zA-Z]", implementation = Error.class))),_
schema = @Schema (type = "string", maxLength = 200, minLength = 10, pattern = "[a-zA-Z]",
implementation = Error.class))),_
from this the generator generates:
_"400":
description: Bad Request content: application/json: schema: type: string_
description: Bad Request content:
application/json: schema: type: string_
application/json:
schema: type: string_
schema:
type: string_
But he would have to generate that instead:
description: Bad Request content: application/json: schema: maxLength: 200 minLength: 10 pattern: "[a-zA-Z]" type: string_
application/json: schema: maxLength: 200 minLength: 10 pattern: "[a-zA-Z]" type: string_
schema: maxLength: 200 minLength: 10 pattern: "[a-zA-Z]" type: string_
maxLength: 200 minLength: 10 pattern: "[a-zA-Z]" type: string_
Is there any way to fix this problem?
No to conform to contributions to this repository. You should follow its contributing guidelines.
Hi, Here is a sample code:
_@ApiResponse(responseCode = "400", description = RC_400,
from this the generator generates:
_"400":
But he would have to generate that instead:
_"400":
Is there any way to fix this problem?