You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Pubudu Udawatta (JIRA)" <ji...@apache.org> on 2017/07/17 13:10:00 UTC

[jira] [Created] (CXF-7445) Cannot generate WADL with required="true" attribute for path parameters

Pubudu Udawatta created CXF-7445:
------------------------------------

             Summary: Cannot generate WADL with required="true" attribute for path parameters 
                 Key: CXF-7445
                 URL: https://issues.apache.org/jira/browse/CXF-7445
             Project: CXF
          Issue Type: Improvement
          Components: JAX-RS
    Affects Versions: 3.1.12
         Environment: java 1.8.0_72 and CXF 3.1.12
            Reporter: Pubudu Udawatta
            Priority: Minor


Used java 1.8.0_72, CXF 3.1.12 and javax.ws.rs-api-2.1-m09 to create a web service. There is no option to put required="true" parameter for @PathParam, @FormParam etc to generate the WADL with required="true" attribute

WADL should look like below once the required="true" attribute is accepted from java source.
<resource path="as/{a}/bs/{b}/send">
<param name="a" required="true" style="template" type="xs:string"/>
<param name="b" required="true" style="template" type="xs:string"/>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)