camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-9796) Internal Access still displayed, no change to JSON generated
Date Sat, 02 Apr 2016 07:20:25 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-9796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-9796:
-------------------------------
    Issue Type: Improvement  (was: Bug)

> Internal Access still displayed, no change to JSON generated
> ------------------------------------------------------------
>
>                 Key: CAMEL-9796
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9796
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-swagger, rest
>    Affects Versions: 2.16.2, 2.17.0
>            Reporter: Flavel Heyman
>             Fix For: 2.18.0, 2.17.1
>
>
> When setting ".access" either "internal" or as "false" it still appears in Swagger-UI/doesn't
modify the JSON to "paramAccess":"internal"
> {code}
> rest(baseUrl).get("/{customerId}")
>   //--------Swagger Documentation--------
>                     .param().name("customerId").access("internal").type(RestParamType.body).description("The
customer ID number.").required(true).dataType("string").endParam();
> {code}
> JSON Generated:
> {code}
> parameters: [{
>   name: "customerId",
>   in: "path",
>   description: "The customer ID number.",
>   required: true,
>   type: "string"
> },...]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message