Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-18516

JAX-RS Validator should report problem when @DefaultValue is used alone

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.30.x
    • 4.2.0.Final
    • webservices

      If a method parameter is annotated with @DefaultValue but has no @QueryParam (or similar) annotation, then the application will most certainly fail with an error message such as:

      failed to execute: javax.ws.rs.NotSupportedException: Could not find message body reader for type: int of content type: */*
      

            Unassigned Unassigned
            xcoulon@redhat.com Xavier Coulon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: