Skip to content

Syntax error on token "default", Identifier expected #190

@taehwoi

Description

@taehwoi
parameterWithName("example").default(3)
        .type(SimpleType.INTEGER)
        // ....

java 14, restdocs-api-spec 0.13.0

It seems like the .default method collides with java's default keyword.
Is it possible to provide a similar method with a different name (e.g. defaultValue) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions