Skip to content

Identifiers with custom serialized_name show incorrect name in SwaggerUI Links section #3788

Closed
@maxtorete

Description

@maxtorete

API Platform version(s) affected: 2.5.7

Description
When you set a serialized_name to an identifier property, SwaggerUI shown the serialized_name in the schema, but in the SwaggerUI operations Links section the original property name is shown ignoring the custom serialized_name.

How to reproduce
Set a serialized_name to a identifier property in a Resource, then go to SwaggerUI and check Links section.

Possible Solution
See pull request.

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