I have tons of json schema for node.js project. Can I use them in any way for:
- Accessing them as jsdoc types from ".js" code files to increase webstorm intellisense accuracy
- Or for creating jsdoc type definitions automatically
?
I have tons of json schema for node.js project. Can I use them in any way for:
?
I had the same question before and some time in 2017 created a json-schema-to-jsdoc utility in GitHub.
You can find it now in npm: https://www.npmjs.com/package/json-schema-to-jsdoc
The closest I have seen to what you suggest is VSCode's support for JSON Schema with regard to editing JSON files.
I would expect given they have started to support JSON Schema, that it would certainly be worth logging an issue with them regarding extending the capabilities of such support. If you did and let me know I would certainly support it!
© 2022 - 2024 — McMap. All rights reserved.