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 2021/11/01 05:58:00 UTC

[jira] [Resolved] (CAMEL-17151) camel-openapi-java - Double slashes in api-doc

     [ https://issues.apache.org/jira/browse/CAMEL-17151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-17151.
---------------------------------
    Resolution: Fixed

Thanks for fixing this

> camel-openapi-java - Double slashes in api-doc
> ----------------------------------------------
>
>                 Key: CAMEL-17151
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17151
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-openapi-java
>            Reporter: Claus Ibsen
>            Assignee: Steve Storck
>            Priority: Major
>             Fix For: 3.13.0
>
>
> ~/workspace ❯ curl http://localhost:8080/api/api-doc/                                                                                                                                ✘ INT
> {
>   "openapi" : "3.0.2",
>   "info" : {
>     "title" : "User API",
>     "version" : "1.0.0"
>   },
>   "servers" : [ {
>     "url" : "/api"
>   } ],
>   "paths" : {
>     "/api//users" : {
>       "get" : {
>         "tags" : [ "/api//users/users" ],
>         "responses" : {
>           "200" : {
>             "content" : {
>               "application/json" : {
>                 "schema" : {
>                   "type" : "array",
>                   "items" : {
>                     "$ref" : "#/components/schemas/User"
>                   }
>                 }
>               }
>             },
>             "description" : "All users successfully returned"
>           }
>         },
>         "operationId" : "verb1",
>         "summary" : "Find all users"
>       }
>     },
>     "/api//users/{id}" : {
>       "get" : {
>         "tags" : [ "/api//users/users" ],



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