api-platform / api-doc-parser

Transforms a Hydra API doc in an intermediate representation that can be used for various tasks such as creating smart API clients, scaffolding code or building administration interfaces.
MIT License
104 stars 71 forks source link

Use https instead of http #96

Closed cooper8686 closed 3 years ago

cooper8686 commented 3 years ago

https://github.com/api-platform/api-doc-parser/blob/9ffab8247ac96b0b22d0b184ac7e3b71f30e9c81/src/hydra/parseHydraDocumentation.ts#L56

why used http instead of https? the browsers throw error when use mixed content

dunglas commented 3 years ago

Because it's a namespace, not a dereferenceable URL (similar to XML namespaces). It is defined here, and every character count: http://www.hydra-cg.com/spec/latest/core/#hydra-at-a-glance