create-oas
Advanced tools
Comparing version 1.0.3 to 1.1.0
{ | ||
"name": "create-oas", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "Create a new OAS file in your repository", | ||
@@ -34,3 +34,6 @@ "bin": "./bin/create-oas.js", | ||
"js-yaml": "^4.1.0" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
} | ||
} |
# create-oas | ||
Create a new OAS file in your repository | ||
[![Build](https://github.com/readmeio/create-oas/workflows/CI/badge.svg)](https://github.com/readmeio/create-oas) | ||
[![](https://d3vv6lp55qjaqc.cloudfront.net/items/1M3C3j0I0s0j3T362344/Untitled-2.png)](https://readme.com) | ||
## Installation/Usage | ||
You can run this module using any of the following methods: | ||
```sh | ||
npm create oas | ||
npm init oas | ||
npx create-oas | ||
``` | ||
This will lead you through a series of questions that will prompt you to create a base OAS file (in either JSON or YAML format). | ||
You can add [paths](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#paths-object) to your OAS spec either directly in this file, or in in your code using something like [swagger-inline](https://github.com/readmeio/swagger-inline) or [fastify-swagger](https://github.com/fastify/fastify-swagger). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11062
9
22