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

[OAS 3.1.0] Callback.expression can now be a pathItem reference as well as an object #588

Closed
Azquelt opened this issue Jan 19, 2024 · 0 comments · Fixed by #629
Closed
Assignees
Labels
OAS 3.1.0 All issues related to OpenAPI version 3.1.0 support

Comments

@Azquelt
Copy link
Member

Azquelt commented Jan 19, 2024

A Callback expression field can now be a reference to a Path Item, as well as a Path Item object directly.

We likely don't need to do anything here since our PathItem model object already extends Reference (though it probably shouldn't have) but we may want to:

  • check if any documentation updates are needed
  • add a test which uses a reference here

Note that #437 allows PathItems to be added as components.

@Azquelt Azquelt added the OAS 3.1.0 All issues related to OpenAPI version 3.1.0 support label Jan 19, 2024
@Azquelt Azquelt added this to the MP OpenAPI 4.0 milestone Jan 19, 2024
@Azquelt Azquelt self-assigned this May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OAS 3.1.0 All issues related to OpenAPI version 3.1.0 support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant