-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* - Filled in Missing `externalDocs` Signed-off-by: Theo Truong <[email protected]> * - Filled in Missing `requestBody` Signed-off-by: Theo Truong <[email protected]> * Fixed mismatching descriptions Signed-off-by: Theo Truong <[email protected]> * Fixed `indices.forcemerge` responseBody ref Signed-off-by: Theo Truong <[email protected]> * Renamed `Action_Group` to `ActionGroup` Signed-off-by: Theo Truong <[email protected]> * Fix SchemaRefsValidator.ts Signed-off-by: Theo Truong <[email protected]> * Added `lint` workflow Signed-off-by: Theo Truong <[email protected]> * Added `lint` workflow Signed-off-by: Theo Truong <[email protected]> * Added validation: description must end with a period Signed-off-by: Theo Truong <[email protected]> * Added validation: naming convention for parameters Signed-off-by: Theo Truong <[email protected]> * # Added periods for validation messages Signed-off-by: Theo Truong <[email protected]> --------- Signed-off-by: Theo Truong <[email protected]>
- Loading branch information
Showing
31 changed files
with
432 additions
and
85 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Validate Spec | ||
|
||
on: | ||
push: | ||
branches: ['**'] | ||
paths: | ||
- 'spec/**' | ||
- 'tools/linter/**' | ||
pull_request: | ||
branches: ['**'] | ||
paths: | ||
- 'spec/**' | ||
- 'tools/linter/**' | ||
|
||
jobs: | ||
lint-spec: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: tools | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20.10.0 | ||
- run: npm install | ||
- run: npm run lint -- ../spec |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.