redocly-cli icon indicating copy to clipboard operation
redocly-cli copied to clipboard

OAS 3.1 - arbitrary schema keywords are classified as lint errors

Open Drew-Kimberly opened this issue 3 months ago • 3 comments

Describe the bug For OAS 3.1, arbitrary keywords within schemas produce lint errors. This contradicts the 3.1 specification.

To Reproduce Using minimal, this example spec from OpenAPI fails linting when it should pass.

Expected behavior

The spec should pass linting.

Logs

message: 'Property `myArbitraryKeyword` is not expected here.',

OpenAPI description

3.1

Redocly Version(s)

@redocly/[email protected]

Drew-Kimberly avatar May 03 '24 16:05 Drew-Kimberly