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

fix: use RemoteDocument for fetchJsonLd response #102

Closed alanpoulain closed 2 years ago

alanpoulain commented 2 years ago
Q A
Branch? main
Tickets N/A
License MIT
Doc PR N/A

The behavior of fetchJsonLd when an empty response (204) is received has been changed: instead of resolving the promise, the promise is now rejected.