[ 
https://issues.apache.org/jira/browse/CAMEL-13985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931375#comment-16931375
 ] 

Claus Ibsen commented on CAMEL-13985:
-------------------------------------

Yeah lets

1. add javadoc to those annotations to mention the scheme is in lower case 
(a..z and only dash)
2. yeah we can try adding a check in that apt compiler so the compilation will 
fail. We just need to make sure the end user can see the error message

> Maven plugin :prepare-readme is unable to populate documentation file with 
> options due to case sensitivity 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-13985
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13985
>             Project: Camel
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 3.0.0.RC1
>            Reporter: Omar Al-Safi
>            Assignee: Omar Al-Safi
>            Priority: Minor
>             Fix For: 3.0.0.RC2
>
>
> When you have a scheme name with upper case for example, e.g: 
> {{@UriEndpoint(firstVersion = "3.0.0-SNAPSHOT", scheme = "RobotFramework", 
> title = "RobotFramework")}}, it will fail to populate the options and query 
> params due to the case sensitivity in the schema name. It is expecting the 
> schema json file to be {{robotframework.json}} but the generated one is 
> {{RobotFramework.json}} and therefore it fails to populate the options due to 
> this case sensitivity comparison 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to