[
https://issues.apache.org/jira/browse/CAMEL-9796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-9796.
--------------------------------
Resolution: Fixed
Assignee: Claus Ibsen
Fix Version/s: 2.16.3
The option is deprecated and no longer in use from 2.18 onwards.
Do not use it
> 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
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.16.3, 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)