-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Motivations Organization # Modifications - Move everything to `/spec` - Rename `openapi.yml` to `reference.yml` - Produce a `.yml` bundle on top of a `.yaml`, just to make it easier for anyone using the remote spec locations - Adjust `package.json` scripts to be more organized, readable, and easily modular - Upgrade Redocly to latest
- Loading branch information
Showing
70 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
{ | ||
"name": "satisfactory-api-v1", | ||
"name": "satisfactory-api-spec", | ||
"version": "1.0.0", | ||
"private": true, | ||
"scripts": { | ||
"bundle-yaml": "openapi bundle -o dist/$npm_package_name.yaml", | ||
"bundle-yml": "openapi bundle -o dist/$npm_package_name.yml", | ||
"bundle-json": "openapi bundle -o dist/$npm_package_name.json", | ||
"bundle": "bun run bundle-yaml && bun run bundle-yml && bun run bundle-json", | ||
"build-redoc": "openapi build-docs dist/$npm_package_name.yaml -o dist/index.html", | ||
"build": "bun run bundle && bun run build-redoc", | ||
"start": "openapi preview-docs", | ||
"build": "openapi bundle -o dist/satisfactory-api-spec.yaml && openapi bundle -o dist/satisfactory-api-spec.json && openapi build-docs dist/satisfactory-api-spec.yaml -o dist/index.html", | ||
"lint": "openapi lint" | ||
}, | ||
"dependencies": { | ||
"@redocly/cli": "^1.25.3" | ||
"@redocly/cli": "^1.25.5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.