Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-3181

The URL produced by the swagger interactive API is missing "/api/atlas/"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.0, 1.1.0, 2.0.0
    • None
    • atlas-webui
    • None

    Description

      Swagger isn't building the API url correctly: it's missing the "api/atlas" parts of the URL:
       
      Here's what it builds:

      https://localhost:21000/v2/entity/guid/4b2aa848-fb3a-401a-9e05-29a08ab2c846/classifications

      curl -X GET --header 'Accept: application/json' 'https://localhost:21000/v2/entity/guid/4b2aa848-fb3a-401a-9e05-29a08ab2c846/classifications'

       
      Here's what works (added "/api/atlas"):
       
      http://localhost:21000*/api/atlas/*v2/entity/guid/4b2aa848-fb3a-401a-9e05-29a08ab2c846/classifications
       

      curl -X GET 'http://localhost:21000/api/atlas/v2/entity/guid/4b2aa848-fb3a-401a-9e05-29a08ab2c846/classifications' -u user:password

      Attachments

        1. ATLAS-3181.patch
          1 kB
          Carol Drummond

        Activity

          People

            cdrummond Carol Drummond
            cdrummond Carol Drummond
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: