Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI v3 "links components" seem broken #3048

Closed
dunglas opened this issue Sep 5, 2019 · 2 comments
Closed

OpenAPI v3 "links components" seem broken #3048

dunglas opened this issue Sep 5, 2019 · 2 comments
Labels

Comments

@dunglas
Copy link
Member

dunglas commented Sep 5, 2019

#2414 seems to be broken, as least with version 2.4.

@dunglas dunglas added the bug label Sep 5, 2019
@bpolaszek
Copy link
Contributor

Checked with @dunglas, link components are actually supported on POST operations only (resource creation).

Todo:

  • Add support everywhere it could be needed
  • Return Iri reference (@id) when possible.

@teohhanhui
Copy link
Contributor

The implementation of #2419 was problematic as it made too many assumptions.

I'm trying to make getLinkObject pass the correct $options to the metadata factories, as part of #3425, but this is not possible because of the architecture (getLinkObject is only called in the context of the GET item operation, whereas we actually need the context of the operation for which the response is being computed).

@soyuka soyuka closed this as completed Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants