Issue with v3.1.0 using Visual Studio Code
See original GitHub issueHi,
In Visual Studio Code with the 42Crunch extension, I’m getting the following error for my openapi.yml file (but no others) for:
openapi: ‘3.0.2’
String does not match the pattern of "^3\.1\.\d+(-.+)?$".
{
"resource": "/d:/<path>/openapi.yml",
"owner": "_generated_diagnostic_collection_name_#0",
"severity": 8,
"message": "String does not match the pattern of \"^3\\.1\\.\\d+(-.+)?$\".",
"source": "yaml-schema: https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json",
"startLineNumber": 1,
"startColumn": 10,
"endLineNumber": 1,
"endColumn": 17
}
So it appears to try to impose 3.1.x, but only for the openapi.yml root file.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Visual Studio Code Frequently Asked Questions
VS Code will no longer provide product updates or security fixes on Windows 7 and VS Code version 1.70.3 is the last available...
Read more >November 2022 (version 1.74) - Visual Studio Code
Learn what is new in the Visual Studio Code November 2022 Release (1.74) ... November 2022 (version 1.74). Update 1.74.1: The update addresses...
Read more >Setting up Visual Studio Code
VS Code is a free code editor, which runs on the macOS, Linux, and Windows operating systems. Follow the platform-specific guides below: macOS...
Read more >VS Code Community Discussions for Extension Authors
Questions regarding how to approach a specific problem, looking for more details on certain APIs, and seeking best practices are all great ...
Read more >Making Remote Development Even Better - Visual Studio Code
dev. The updated CLI is built into the latest VS Code release and is also available for standalone install, so you can create...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK, thanks. I’ve found the relevant 42crunch repository…
@Tasselhoff I have the same problem, what did you do to solve this? I switched to 3.1 to bypass the error but I don’t want to up my version every couple of months, especially if the spec might change.