@readyapi/galaxy
v0.1.1
Published
OpenAPI example specification in YAML and JSON
Downloads
3
Maintainers
Readme
Scalar Galaxy OpenAPI Example
An OpenAPI example specification in YAML and JSON to test OpenAPI tooling, run test suites or learn about OpenAPI.
Installation
npm install @readyapi/galaxy
Usage
CDN
| Version | Format | URL | | ----------- | ------ | -------------------------------------------------------------- | | Latest | JSON | https://cdn.jsdelivr.net/npm/@readyapi/galaxy/dist/latest.json | | Latest | YAML | https://cdn.jsdelivr.net/npm/@readyapi/galaxy/dist/latest.yaml | | OpenAPI 3.1 | JSON | https://cdn.jsdelivr.net/npm/@readyapi/galaxy/dist/3.1.json | | OpenAPI 3.1 | YAML | https://cdn.jsdelivr.net/npm/@readyapi/galaxy/dist/3.1.yaml |
Import as object
import galaxy from '@readyapi/galaxy/latest.json'
Import as JSON string
import galaxy from '@readyapi/galaxy/latest.json?raw'
Import as YAML string
import galaxy from '@readyapi/galaxy/latest.yaml?raw'
Import specific OpenAPI version
import galaxy from '@readyapi/galaxy/3.1.json'