Comments (3)
Thanks for reporting! It indeed does not report parsing errors, I'll fix it.
from vscode-openapi.
Editor needs to be able to parse JSON or YAML in order to display paths, etc. While duplicate paths issue is relatively benign and parser can sometimes work while encountering errors, other types of parsing errors could cause incorrect information to be displayed by the editor.
So, to err on the side of caution I'm going to keep current implementation where editor goes blank when parsing errors are encountered.
To alert user about parsing errors I've updated extension to display these in Errors panel of VS Code. The fix should be available in the upcoming 1.8.18 update.
Please comment if you disagree with the fix.
from vscode-openapi.
I think the more extensive error display is definitely the correct way to go. Thank you.
from vscode-openapi.
Related Issues (20)
- Doesn't recognize openapi yaml files (`No OpenAPI file selected`) HOT 2
- Relative URL not resolved correctly for openIdConnectUrl HOT 1
- Try-it: Parameter "in: path" for GET not passed HOT 2
- Referencing the same object in request and response schemas results in error
- How can I omit or ignore a certain audit issue? HOT 2
- Underline of file based $ref's after validation is missing
- Add Body Parameter command inserts at document root
- Intellisense suggests !And !Base64 !Cidr etc. before properties, making it a bit more cumbersome to autocomplete HOT 2
- Preview doesn't open (both swagger and redoc) when referencing other files while specifying type HOT 2
- Badge icon is missing HOT 6
- feature wish: synchronized scrolling
- Version 3.1 doesn't supported HOT 1
- The swagger preview doesn't work anymore / icon not showing / Command error HOT 1
- Issue with Incorrect Display of SwaggerUI in Extension Update Version 4.25.0 HOT 7
- required parameters set as false aren't viewed as valid HOT 3
- Degraded Performance. Number of Git Changes handlers increases exponentially with every call HOT 2
- Can't $ref from a specific HTTP method HOT 1
- Allow Custom YAML Schema Validation Files HOT 8
- Support for external HTTP references needing authentication HOT 6
- Extension breaks JSON schema validation with array items HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-openapi.