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

Claus Ibsen commented on CAMEL-20637:
-------------------------------------

Before:

~/workspace ❯ curl -i -X DELETE http://0.0.0.0:8080/api/v3/pet/findByTags
HTTP/1.1 204 No Content
Accept: */*
User-Agent: curl/8.1.2


After:

~/workspace ❯ curl -i -X DELETE http://0.0.0.0:8080/api/v3/pet/findByTags       
                                                                                
                                      32s
HTTP/1.1 405 Method Not Allowed
Accept: */*
Allow: GET
User-Agent: curl/8.1.2
transfer-encoding: chunked

> camel-rest-dsl - Matching rest operation may not select correct
> ---------------------------------------------------------------
>
>                 Key: CAMEL-20637
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20637
>             Project: Camel
>          Issue Type: Bug
>          Components: rest
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.6.0
>
>
> Using petstore and want to invoke pet/findByTags
> And then if using a forbidden verb such as DELETE, then it may pick /pet/{id} 
> instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to