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

Conditional JSON validation OpenAPI Specification 3.1 #1661

Closed
DaniduWijendra opened this issue Mar 28, 2023 · 1 comment
Closed

Conditional JSON validation OpenAPI Specification 3.1 #1661

DaniduWijendra opened this issue Mar 28, 2023 · 1 comment

Comments

@DaniduWijendra
Copy link

Problem

Have a requirement to use JSON validation for API specified with Open API Specification 3, In that case, as per the documentation [1] and [2], OpenAPI 3.0 does not support the keyword dependencies keyword of JSON schema, but it’s supported in the OpenAPI 3.1.
Hence, we would appreciate it if you could support OpenAPI 3.1 in upcoming releases of APIM server.

[1] https://community.smartbear.com/t5/Swagger-Open-Source-Tools/Defining-conditional-attributes-in-OpenAPI/td-p/222410
[2] https://stackoverflow.com/questions/63209596/how-to-indicate-that-a-parameter-is-conditionally-required-when-another-paramete

[3] https://swagger.io/specification/#schemaObject

Solution

Provide support for OpenAPI 3.1 in upcoming releases.

Affected Component

APIM

Version

No response

Implementation

No response

Related Issues

No response

Suggested Labels

APIM

@tgtshanika
Copy link
Contributor

This will be tracked in #2178

@npamudika npamudika added this to the 4.3.0-M1 milestone Jan 3, 2024
@npamudika npamudika added 4.3.0 4.3.0-M1 4.3.0 M1 Milestone labels Jan 3, 2024
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

4 participants