You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2020/03/05 15:08:00 UTC

[jira] [Commented] (CXF-8232) Swagger OpenAPIDefinition

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

Andriy Redko commented on CXF-8232:
-----------------------------------

Hi, 

The @OpenAPIDefinition should be working fine, if the annotated classes / packages are scanned. I am not sure how you intend to use it for adding the extensions for specific headers though:

> public @interface OpenAPIDefinition
> The annotation that may be used to populate OpenAPI Object fields info, tags, servers, security and externalDocs

If you could submit a sample test case / project, it would be great. Thank you.

> Swagger OpenAPIDefinition
> -------------------------
>
>                 Key: CXF-8232
>                 URL: https://issues.apache.org/jira/browse/CXF-8232
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>            Reporter: Sébastien Nicouleau
>            Priority: Major
>
> Hi,
> why Annotation @OpenAPIDefinition not working ? I want add extensions for my specific headers , and the only solution is to use OpenApiCustomizer?
> Best Regards



--
This message was sent by Atlassian Jira
(v8.3.4#803005)