Claus Ibsen created CAMEL-17151:
-----------------------------------

             Summary: 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: Claus Ibsen
             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)

Reply via email to