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

Federico Mariani commented on CAMEL-16558:
------------------------------------------

PR for camel-swagger-java [https://github.com/apache/camel/pull/5516] rest 
example:
{code:java}
 
rest("/hello").consumes("application/json").produces("application/json").get("/hi/{name}")
                        .description("Saying hi").deprecated()
{code}
[~wayqui] [~davsclaus] I was looking at [swagger 
specification|https://swagger.io/specification/] and it says that not only 
verbs (operation) can be deprecated; params and schema can be deprecated too. 
It is worth to implement params and schema deprecation, or you think that verbs 
is enough?

> openapi - Mark an endpoint as deprecated with camel-swagger-java or 
> camel-openapi-java
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-16558
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16558
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-openapi-java, camel-swagger-java
>    Affects Versions: 2.25.2, 3.10.0
>         Environment: I tested both spring boot examples that i mention on the 
> StackOverflow question, and also the application i work with, which is a 
> Spring application 5.1 and apache-camel version 2.25.2.
>            Reporter: José Bustamante
>            Priority: Major
>              Labels: deprecated, endpoint, openapi, rest, swagger
>             Fix For: 3.10.0
>
>
> Good morning, 
> I'm using camel-swagger-java for a while and i found something: I can't 
> deprecate an endpoint with camel-swagger-java or camel-openapi-java. I assume 
> that feature is not available yet. Is it going to be at some point?
> I have raised a question in stackoverflow but no luck so far: 
> [https://stackoverflow.com/questions/67265296/mark-an-endpoint-as-deprecated-with-camel-swagger-java]
> Regards



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

Reply via email to