Skip to content

fix(hydra): use compact IRI for owl:onProperty and Collection @id in DocumentationNormalizer#7849

Open
soyuka wants to merge 1 commit intoapi-platform:4.2from
soyuka:fix/hydra-owl
Open

fix(hydra): use compact IRI for owl:onProperty and Collection @id in DocumentationNormalizer#7849
soyuka wants to merge 1 commit intoapi-platform:4.2from
soyuka:fix/hydra-owl

Conversation

@soyuka
Copy link
Member

@soyuka soyuka commented Mar 17, 2026

Q A
Branch? 4.2
Tickets api-platform/demo#594
License MIT
Doc PR

When hydra_prefix is false (default since 4.x), $hydraPrefix concatenation produces bare terms ("member", "Collection") that JSON-LD expands as relative IRIs instead of Hydra namespace IRIs, breaking api-doc-parser.

…DocumentationNormalizer

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Tickets       | api-platform/demo#594
| License       | MIT
| Doc PR        | ∅

When hydra_prefix is false (default since 4.x), $hydraPrefix concatenation
produces bare terms ("member", "Collection") that JSON-LD expands as relative
IRIs instead of Hydra namespace IRIs, breaking api-doc-parser.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant