-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
no longer using '/spec/' in path fix typos updated theme added a json include example in the docs as a placeholder
- Loading branch information
Showing
10 changed files
with
120 additions
and
24 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: 'OpenAPI lint' | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- 1.0.0* | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
name: "Bundle and Build" | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Lint | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- run: >- | ||
npx --yes @redocly/cli bundle ./docs/_data/openapi-split.yaml -o ./docs/openapi.yaml && | ||
npx @redocly/cli lint ./docs/openapi.yaml |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: 'OWASP Spectral lint' | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- 1.0.0* | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
name: "Bundle and Build" | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Lint | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- run: >- | ||
npx --yes @redocly/cli bundle ./docs/_data/openapi-split.yaml -o ./docs/openapi.yaml && | ||
npx --yes @stoplight/spectral-cli lint docs/openapi.yaml --ruleset https://unpkg.com/@stoplight/spectral-owasp-ruleset/dist/ruleset.mjs |
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
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 |
---|---|---|
|
@@ -3,13 +3,15 @@ email: [email protected] | |
|
||
description: >- | ||
Transmission Ratings and Operating Limits Information Exchange | ||
baseurl: "/" # the subpath of your site, e.g. /blog | ||
url: "https://trolie.energy" # the base hostname & protocol for your site, e.g. http://example.com | ||
logo: https://artwork.lfenergy.org/projects/trolie/horizontal/color/TROLIE-horizontal-color.png | ||
# twitter_username: jekyllrb | ||
github_username: TROLIE | ||
|
||
# Build settings | ||
remote_theme: pages-themes/[email protected] | ||
remote_theme: pages-themes/[email protected] | ||
|
||
show_downloads: false | ||
|
||
plugins: | ||
- jekyll-remote-theme |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[ | ||
{ | ||
"transmission-facility-id": "line2", | ||
"periods": [ | ||
{ | ||
"period-start": "2023-07-12T16:00:00-07:00", | ||
"updated-time": "2023-07-12T13:05:43.044267100-07:00", | ||
"values": [ | ||
{ | ||
"type": "normal", | ||
"value": { | ||
"mva": 160 | ||
} | ||
}, | ||
{ | ||
"type": "emergency", | ||
"value": { | ||
"mva": 165 | ||
} | ||
}, | ||
{ | ||
"type": "loadshed", | ||
"value": { | ||
"mva": 170 | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] |
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
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