-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'version-1-x' into gateway_events_less_filtering_restric…
…tions
- Loading branch information
Showing
10 changed files
with
3,633 additions
and
3,699 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,35 @@ | ||
name: Merge async api specification | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
build: | ||
name: Run swagger-merger | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Check out the repository | ||
- uses: actions/checkout@v4 | ||
|
||
# install swagger-merger | ||
- name: install swagger-merger | ||
run: npm install -g swagger-merger | ||
|
||
# Run swagger-merger | ||
- name: Run swagger-merger | ||
run: | | ||
swagger-merger -i MQTT_for_IO-Link.yaml schemas.yaml examples.yaml -o MQTT_for_IO-Link_merged.yaml | ||
swagger-merger -i JSON_for_IO-Link.yaml schemas.yaml examples.yaml -o JSON_for_IO-Link_merged.yaml | ||
- name: Upload merged MQTT_for_IO-Link YAML file as artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: mqtt-yaml | ||
path: MQTT_for_IO-Link_merged.yaml | ||
|
||
- name: Upload merged JSON_for_IO-Link YAML file as artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: json-yaml | ||
path: JSON_for_IO-Link_merged.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,5 @@ | ||
# Linting rules | ||
extends: ["spectral:oas", "spectral:asyncapi"] | ||
# rules: | ||
# oas3-unused-component: off | ||
# path-params: off # to disable error: path-params Paths "/devices/{deviceAlias}/parameters/{index}/value" and "/devices/{deviceAlias}/parameters/{parameterName}/value" must not be equivalent. |
Oops, something went wrong.