Spectral is throwing an error saying the openapi spec value of 3.0.0 is invalid. The help text right above the message shows: "Validation schema for OpenAPI Specification 3.0.X", but if I hover over the error, it shows conflicting helper text, saying:
String does not match the pattern of "^3\.1\.\d+(-,+)?$
To Reproduce
Given this OpenAPI document '...'
Open spectral with a documnent where the first line is:
openapi: 3.0.0
See error
Expected behavior
This value should be valid, and the messages in the spectral linting should not conflect with each other
Screenshots
Environment:
Extension version: v1.1.2
VS Code version: 1.79.2
Operating System: Windows10
Additional context
Add any other context about the problem here.
Describe the bug
Spectral is throwing an error saying the openapi spec value of
3.0.0
is invalid. The help text right above the message shows: "Validation schema for OpenAPI Specification 3.0.X", but if I hover over the error, it shows conflicting helper text, saying:String does not match the pattern of "^3\.1\.\d+(-,+)?$
To Reproduce
Open spectral with a documnent where the first line is:
openapi: 3.0.0
Expected behavior This value should be valid, and the messages in the spectral linting should not conflect with each other
Screenshots
Environment:
Additional context Add any other context about the problem here.