Commit bc18b20 1 parent 8a0bb72 commit bc18b20 Copy full SHA for bc18b20
File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- name : ' Swagger cli action'
2
- description : ' Run Swagger validation on your OAS JSON or YAML file. Supports Swagger 2.0 or OpenAPI 3.0 format'
1
+ name : ' Open API Specification Lint action'
2
+ description : ' Runs Swagger validation on your OAS JSON or YAML file. Supports Swagger 2.0 or OpenAPI 3.0 format'
3
3
inputs :
4
- args :
5
- description : ' Arguments. Use --help to see the complete list of supported args '
4
+ file_path :
5
+ description : ' Path to OAS file for validation '
6
6
required : true
7
7
runs :
8
8
using : ' docker'
9
9
image : ' Dockerfile'
10
10
args :
11
- - ${{ inputs.args }}
11
+ - ${{ inputs.file_path }}
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ echo "======================"
4
4
echo " = Linting OAS file ="
5
5
echo " ======================"
6
6
7
- cd /github/workspace/ && spectral lint " ${INPUT_ARGS[@]} "
7
+ cd /github/workspace/ && spectral lint " $INPUT_FILE_PATH "
You can’t perform that action at this time.
0 commit comments