alt3 / cakephp-swagger

Swagger plugin for documenting your CakePHP APIs
MIT License
64 stars 17 forks source link

Insecure UI validator image breaks green https status #5

Closed bravo-kernel closed 8 years ago

bravo-kernel commented 8 years ago

Browser complains about insecure media when connecting to UI using HTTPS..

Update: The warning is a known issue, to be fixed by the swagger team, caused by the Ui-generated validator button so... no issues in our index.ctp as explained by Chrome:

Mixed Content: The page at 'https://api.local/swagger' was loaded over HTTPS, but requested an insecure image 'http://online.swagger.io/validator/?url=https://api.local/swagger/docs/api'. This content should also be served over HTTPS.

See also:

TeChn4K commented 8 years ago

Same problem here !

bravo-kernel commented 8 years ago

Solved in #27 by bumping Swagger UI to 2.2.3