Skip to content

Attributes for HeaderDescriptor and ParameterDescriptor are ignored. #95

@ultranav

Description

@ultranav

The restdocs type ParameterDescriptor contains an inherited map of attributes that may be used to define constraints.
But this attributes map is ignored when ParameterDescriptorWithType is created in ResourceSnippetParameters.kt:128.
Due to this problem constraints are ignored for path variables.

Edit @ozscheyge :
Same applies to HeaderDescriptorWithType

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions