-
-
Notifications
You must be signed in to change notification settings - Fork 585
Open
Description
Describe the bug
When a request/response object is having a property with name starting with set.. then the Swagger UI shows it trimmed.
Example: property name settlement -> will be shown in the UI with tlement
To Reproduce
<swagger.version>2.2.30</swagger.version>
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-core-jakarta</artifactId>
<version>${swagger.version}</version>
</dependency>
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations-jakarta</artifactId>
<version>${swagger.version}</version>
</dependency>
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-models-jakarta</artifactId>
<version>${swagger.version}</version>
</dependency>
<dependency>
<groupId>org.openapitools</groupId>
<artifactId>jackson-databind-nullable</artifactId>
<version>${jackson-databind-nullable.version}</version>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>${springdoc.version}</version>
</dependency>
Foo:
type: object
description: "Foo"
required:
- "settlement"
properties:
settlement:
type: string
Expected behavior
Swagger UI should show the property full name as settlement not tlement
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels