Swagger-ui: Access-Control-Allow-Origin

Created on 9 Apr 2017  路  2Comments  路  Source: swagger-api/swagger-ui

Fetch API cannot load http://127.0.0.1:9090/tigase/swagger. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:9090' is therefore not allowed access. The response had HTTP status code 404. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
lock-bot

Most helpful comment

All 2 comments

hi,I resolved the first problem.but now,it make the some other problem.
version: 2.2.2
springmvc:4.3.7

{"schemaValidationMessages":[{"level":"error","message":"Can't read from file http://127.0.0.1:9090/tigase/v2/api-docs"}]}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

insideshell picture insideshell  路  3Comments

ankon picture ankon  路  4Comments

easyest picture easyest  路  3Comments

andrecarlucci picture andrecarlucci  路  3Comments

MartinMuzatko picture MartinMuzatko  路  4Comments