Skip to content

Allow path params to use "normal" { } as well as : for Javalin #39

Closed
@rbygrave

Description

@rbygrave

So for Javalin we can do:

@Get("{id}/{type}")                      // <!-- more standard style using {}
List<Foo> getFoos(long id, String type) ...


@Get(":id/:type")                         // <!-- Javalin colon style
List<Foo> getFoos(long id, String type) ...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions