File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,23 +88,23 @@ jobs:
8888
8989 - name : Merge API specs
9090 run : |
91- ./gradlew -Pversion =${{ env.VERSION }} -PapiTitle="Tractus-X EDC ${{ matrix.apiGroup.name }} API" -PapiDescription ="Tractus-X EDC ${{ matrix.apiGroup.name }} API Documentation" :mergeApiSpec --input=./resources/openapi/yaml/ ${{ matrix.apiGroup.name }} --output=./resources/openapi/yaml/ ${{ matrix.apiGroup.name }}.yaml
91+ ./gradlew mergeOpenApiSpec --inputDir =${PWD}/resources/openapi/yaml/${{ matrix.apiGroup.name }} --output= ${{ matrix.apiGroup.name }}.yaml --infoTitle ="Tractus-X EDC ${{ matrix.apiGroup.name }} API" --infoDescription="Tractus-X EDC ${{ matrix.apiGroup.name }} API Documentation" --infoVersion= ${{ env.VERSION }}
9292 env :
9393 DEVELOCITY_ACCESS_KEY : ${{ secrets.DEVELOCITY_API_TOKEN }}
9494
9595 - name : Generate Swagger UI current version
9696 uses : Legion2/swagger-ui-action@v1
9797 with :
9898 output : dist/${{ env.VERSION }}
99- spec-file : resources/openapi/yaml/ ${{ matrix.apiGroup.name }}.yaml
99+ spec-file : ${{ matrix.apiGroup.name }}.yaml
100100 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
101101
102102 - name : Generate Swagger UI stable version
103103 uses : Legion2/swagger-ui-action@v1
104104 if : ${{ !endsWith( env.VERSION, '-SNAPSHOT') }}
105105 with :
106106 output : dist
107- spec-file : resources/openapi/yaml/ ${{ matrix.apiGroup.name }}.yaml
107+ spec-file : ${{ matrix.apiGroup.name }}.yaml
108108 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
109109
110110 - uses : actions/upload-artifact@v5
You can’t perform that action at this time.
0 commit comments