You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2019/09/01 06:46:00 UTC

[jira] [Commented] (CAMEL-13920) Can tooling include some HTML tags when generating json schema?

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

Claus Ibsen commented on CAMEL-13920:
-------------------------------------

I dont think so as the text must be json valid, and also spring boot auto configuration dont allow all these syntaxes. So what we should do is to change the javadoc docs instead.

> Can tooling include some HTML tags when generating json schema?
> ---------------------------------------------------------------
>
>                 Key: CAMEL-13920
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13920
>             Project: Camel
>          Issue Type: Improvement
>          Components: tooling
>            Reporter: Jan Bednar
>            Priority: Minor
>
> HTML tags seems to be stripped out when creating json schema from javadoc. Can we include some of safe tags, or replace them with markup, or find some other way to propagate formating from javadoc to website?
> This can be seen specialy in [file component|https://camel.apache.org/components/latest/file-component.html] for readLock option. [Javadoc|https://github.com/apache/camel/blob/master/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java#L842] for this option contains nice <li> list of allowed values, but on website (and also in file.json) are tags excluded. This tends to description, which is really hard to read on website. 



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