Skip to content

PropertyModelConverter in Swagger Core v1.5.19 does not map StringProperty#getEnum to ModelImpl#setEnum #2790

@bronogard

Description

@bronogard
Q A
Bug or feature request? Bug
Which Swagger-Core version? 1.5.19
Which Java version? 1.8u162
Which JAX-RS framework & version? Jersey 2.22.1 with JAX-RS 2.0

Due to changes made in #2583 the following classes:

now behave differently during the serialization of the property io.swagger.models.Response#getResponseSchema by applying the ResponseSchemaMixin.java.

Therefore, the method call to io.swagger.models.utils.PropertyModelConverter#propertyToModel does not map the io.swagger.models.properties.StringProperty#getEnum to the io.swagger.models.ModelImpl#setEnum.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions