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

Support dynamicRef/Anchor #1572

Open
Aweptimum opened this issue Apr 13, 2024 · 1 comment
Open

Support dynamicRef/Anchor #1572

Aweptimum opened this issue Apr 13, 2024 · 1 comment

Comments

@Aweptimum
Copy link

Aweptimum commented Apr 13, 2024

I was looking into whether the spec supported generics, and I found this nifty article recently shared by henry andrews here

This has technically been a part of the spec for a while, but it's not documented. There is currently an open issue authored 2 months ago to document it OAI/OpenAPI-Specification#3601

I was wondering if swagger-php might be able to add support for it. Although I don't think swagger-codegen parses it, so this would just be a nice-to-have for if/when they do

@DerManoMann
Copy link
Collaborator

I always struggle with the specs - never quite sure if something is an OpenAPI thing or a JSON schema thing.
If it comes to it there is certainly scope for adding it. It might mean finally switching to a proper PHP parser and/or probably also a library to parse types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants