Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17151

camel-openapi-java - Double slashes in api-doc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.13.0
    • camel-openapi-java
    • None
    • Unknown

    Description

      ~/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" ],

      Attachments

        Issue Links

          Activity

            People

              Steve973 Steve Storck
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: