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

3.1 Vocabulary for subschemas is unsupported by external dependency #29

Open
charjr opened this issue Nov 16, 2024 · 0 comments
Open

3.1 Vocabulary for subschemas is unsupported by external dependency #29

charjr opened this issue Nov 16, 2024 · 0 comments
Milestone

Comments

@charjr
Copy link
Collaborator

charjr commented Nov 16, 2024

Currently, neither cebe/php-openapi nor devizzent/cebe-php-openapi are capable of supporting the additional vocabulary for applying subschemas in 3.1.

The issue here is these keywords are not recognised. They do not invalidate, but simply remain as raw data, without being converted to Schema objects.

I've made a PR to try and fix this DEVizzent/cebe-php-openapi#26

Alternatives:

  • Remove dependency and parse openapi independently
  • Forcefully convert the raw data into Cebe Schema objects, then into Membrane objects

Again, the former is cleaner, the latter is quicker.

@charjr charjr added this to the OpenAPI 3.1 milestone Nov 16, 2024
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

No branches or pull requests

1 participant