Skip to content

Convinence header methods like authorization should accept DslProperty #2155

Open
@jakub-bochenski

Description

@jakub-bochenski

Describe the bug
This doesn't work

                    authorization $(
                            p(nonEmpty()),
                            c(nonEmpty())
                    )

'authorization' in 'org. springframework. cloud. contract. spec. internal. Headers' cannot be applied to '(org. springframework. cloud. contract. spec. internal. DslProperty)'
Workaround

                    header 'Authorization', $(
                            p(nonEmpty()),
                            c(nonEmpty())
                    )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions