Skip to content

Provide support for DateFormat annotation #47

@NickGaens

Description

@NickGaens

Support could be provided for a @DateFormat annotation when adding QueryParams.

An example that is not compatible with this library: https://zenidas.wordpress.com/recipes/configurable-date-format-in-jax-rs-as-queryparam/

Usage example:

@Path("web/employee/:employeeId/contracts")
@GET ContractResponse getContracts(@PathParam("employeeId") int employeeId, @QueryParam("date") @DateFormat("yyyy-MM-dd") Date date);

should yield: "web/employee/1/contracts?date=2020-06-15" e.g.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions