Closed jagannathsrs closed 3 years ago
When a description for an API property is long, it overflows out of the div.
@IsNotEmpty() @ApiProperty({ example: integrations.MySQL, description: `Accepted values: ${integrationValues}`}) @IsString() @IsEnum(integrations, {message: `Can be of type`+ integrationValues}) dbType: integrations;
Fix:
Add the follwing in custom css:
.swagger-ui .renderedMarkdown p { word-break: break-all; }
This issue is specific to swagger-ui (https://github.com/swagger-api/swagger-ui). Please raise them with swagger-ui directly.
This module is a wrapper for swagger-ui for express
When a description for an API property is long, it overflows out of the div.
Fix:
Add the follwing in custom css:
.swagger-ui .renderedMarkdown p { word-break: break-all; }