question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enhancement: Include a command-line version to use json-schema-ref-parser via CLI

See original GitHub issue

Include a command-line version with the npm package so that json-schema-ref-parser can be simply used via CLI. This will make it easier to use this tool via CICD/build systems and also eliminate the need for writing a wrapper js script to consume this functionality.

Something like:

json-schema-ref-parser bundle --dereference {infile} {outfile}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
DanielHabenichtcommented, Oct 1, 2020

Although not using json-schema-ref-parser @redocly/openapi-cli just does what you wanted.

0reactions
philsturgeoncommented, Aug 15, 2021

Between swagger-cli and openapi-cli most people should have a solution for their needs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Include a command-line version to use json-schema-ref ...
Include a command-line version with the npm package so that json-schema-ref-parser can be simply used via CLI. This will make it easier to ......
Read more >
JSON Schema $Ref Parser - API Dev Tools
Parse, Resolve, and Dereference JSON Schema $ref pointers in Node and browsers. ... method will call the callback using the Node.js error-first convention....
Read more >
OpenAPI.Tools
OpenDocumenter - OpenDocumenter is a automatic documentation generator for OpenAPI v3 schemas. Simply provide your schema file in JSON or YAML, then sit...
Read more >
May 2022 (version 1.68) - Visual Studio Code
Learn what is new in the Visual Studio Code May 2022 Release (1.68) ... We released an open source command-line interface (CLI) as...
Read more >
docker inspect - Docker Documentation
--format , -f, Format the output using the given Go template. --size , -s, Display total file sizes if the type is container....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found