File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,18 @@ permissions:
12
12
jobs :
13
13
deploy :
14
14
runs-on : ubuntu-latest
15
- steps :
16
- - name : Swagger Codegen
17
- uses : bjerkio/swagger-codegen-action@v1
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@v2
18
+ - name : Generate a single YAML-file
19
+ uses : openapi-generators/openapitools-generator-action@v1
18
20
with :
19
- args : generate
20
- -l openapi-yaml -i lb.yaml -o single-file
21
- - name : Generate Swagger UI
21
+ generator : openapi-yaml
22
+ - name : Generate Swagger UI from a single YAML-file
22
23
uses : Legion2/swagger-ui-action@v1
23
24
with :
24
25
output : swagger-ui
25
- spec-file : single-file/openapi.yaml
26
- # spec-url: https://raw.githubusercontent.com/rain0r/listenbrainz-openapi/refs/heads/master/lb.yaml
26
+ spec-file : openapi-yaml-client/openapi.yaml
27
27
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
28
- name : Deploy to GitHub Pages
29
29
uses : peaceiris/actions-gh-pages@v4
You can’t perform that action at this time.
0 commit comments