Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-3006

api-docs on Swagger UI error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 11.2.2
    • 10.0.2
    • None
    • None

      The link on the Swagger UI for api-docs, shows Error - {"schemaValidationMessages":[

      {"level":"error","message":"Can't read from file http://127.0.0.1:8080/RestVDB/api-docs/Debbiev"}

      ]}

      But I can enter the URL and go to the api-doc - http://127.0.0.1:8080/RestVDB/api-docs/Debbiev
      {"apiVersion":"2.0.0","swaggerVersion":"1.2","basePath":"/RestVDB","resourcePath":"/Debbiev","apis":[{"path":"/Debbiev/mytable","operations":[{"method":"POST","summary":"(XML) postmytable: null","notes":"","type":"java.io.InputStream","nickname":"postmytable","produces":["application/xml; charset=UTF-8"],"consumes":["application/xml"],"parameters":[

      {"name":"body","required":false,"type":"java.io.InputStream","paramType":"body","allowMultiple":false}

      ]},

      {"method":"GET","summary":"(XML) getmytable: null","notes":"","type":"java.io.InputStream","nickname":"getmytable","produces":["application/xml; charset=UTF-8"],"parameters":[]}

      ]},{"path":"/Debbiev/json/mytable","operations":[

      {"method":"GET","summary":"(JSON) getmytable: null","notes":"","type":"string","nickname":"getmytablejson","produces":["application/json; charset=UTF-8"],"parameters":[]}

      ,{"method":"POST","summary":"(JSON) postmytable: null","notes":"","type":"string","nickname":"postmytablejson","produces":["application/json; charset=UTF-8"],"consumes":["application/json"],"parameters":[

      {"name":"body","required":false,"type":"java.io.InputStream","paramType":"body","allowMultiple":false}

      ]}]}]}

        1. screen-404.png
          41 kB
          Kylin Soong
        2. screen-api.png
          60 kB
          Kylin Soong
        3. Screenshot-RestVDB VDB - Mozilla Firefox.png
          86 kB
          Deborah Steigner

              rhn-engineering-tejones Edwin Jones
              rhn-support-dsteigner Deborah Steigner (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: