
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
oas-resolver
Advanced tools
const yaml = require('yaml');
const input = yaml.parse(str);
const source = url; // or filename
resolver.resolve(input,source,options)
.then(function(options){
fs.writeFileSync(outputFile,yaml.stringify(options.openapi),'utf8');
})
.catch(function(ex){
// ...
});
See here for complete documentation of the options object.
Swagger Parser is a powerful tool for parsing, validating, and dereferencing OpenAPI and Swagger documents. It offers similar functionality to oas-resolver in terms of resolving references and validating API specifications. However, Swagger Parser is more focused on validation and parsing, whereas oas-resolver emphasizes resolving and bundling.
OpenAPI Diff is a tool for comparing two OpenAPI specifications to identify differences. While it does not directly resolve or bundle specifications like oas-resolver, it complements the process by allowing developers to track changes between different versions of an API specification.
Redoc CLI is a command-line tool for generating API documentation from OpenAPI specifications. While its primary focus is on documentation generation, it includes features for bundling OpenAPI files, similar to oas-resolver. However, Redoc CLI is more oriented towards creating visually appealing documentation.
FAQs
Resolve external $refs in OpenAPI (swagger) 2.0 / 3.x definitions
The npm package oas-resolver receives a total of 2,347,901 weekly downloads. As such, oas-resolver popularity was classified as popular.
We found that oas-resolver demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.