Skip to content

A few edits on your v3.1 PR#15

Open
fenollp wants to merge 17 commits intooasdiff:feat/openapi-3.1-supportfrom
fenollp:issue230-pr1125
Open

A few edits on your v3.1 PR#15
fenollp wants to merge 17 commits intooasdiff:feat/openapi-3.1-supportfrom
fenollp:issue230-pr1125

Conversation

@fenollp
Copy link
Copy Markdown

@fenollp fenollp commented Apr 19, 2026

Hello! Thanks for tackling this, especially the schema part!

I think this should move forward as-is however I have a few points:

  1. Regarding v3.1 sibling fields: this was missing tests which I added. One test (for v3.0) is not passing so please take a look. Also please complete the implementation of applySiblingSchemaFields. I can't merge this with this regression for 3.0.

  2. Be more careful when adding new v3.1 capabilities in general: things have to be gated with IsOpenAPI31OrLater()! So please go over the Schema's Validate func and gate the usage of v3.1 fields.

I renamed some things and decoupled the options "isopenapiv3.1" and "usenewschema". Because the first is required when validating oas documents and the later will end up being a noop once I replace v3.0's custom schema validation with the new one.

Oh let's try to not squash the commits please.

fenollp added 17 commits April 18, 2026 13:01
…penAPI31OrLater and doc.OpenAPIMajorMinor

Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
…1OrLater

Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
…idationOption) error

Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
…TLS for v3.0

Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
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