Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.
This repository was archived by the owner on May 28, 2018. It is now read-only.

Ordering of annotations yields "HTTP Status 415 - Unsupported Media Type" #1643

@glassfishrobot

Description

@glassfishrobot

Method get1 yields "HTTP Status 415 - Unsupported Media Type" while method get2 works perfectly:

@get
@path("get1")
@Validate
public String get1(@QueryParam("x") @min(5) Integer i)

{ return String.valueOf(2*i); }

@get
@path("get2")
@Validate
public String get2(@min(5) @QueryParam("x") Integer i) { return String.valueOf(2*i); }

Affected Versions

[1.13]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions