File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 24
24
sed -i 's/openapi: "3.1.0"/openapi: "3.0.0"/' $file
25
25
done
26
26
- name : Generate
27
- run : |
28
- mkdir dist;
29
- npx @openapitools/openapi-generator-cli batch typescript-fetch.yaml
27
+ run : npx @openapitools/openapi-generator-cli batch typescript-fetch.yaml
28
+ - name : Create Pull Request
29
+ uses : peter-evans/create-pull-request@v3
30
+ with :
31
+ commit-message : Migrate OpenAPI spec from solvedac/unofficial-documentation
32
+ title : Migrate OpenAPI Specification from solvedac/unofficial-documentation
33
+ body : |
34
+ This Pull Request will update the typescript sources.
35
+ It is automatically created by GitHub Actions.
36
+ labels : automated
Original file line number Diff line number Diff line change
1
+ unofficial-documentation
Original file line number Diff line number Diff line change 1
1
inputSpec : " unofficial-documentation/src/openapi.yaml"
2
2
generatorName : " typescript-fetch"
3
- outputDir : " dist "
3
+ outputDir : " src "
4
4
validateSpec : false
5
5
generateAliasAsModel : true
6
6
additionalProperties :
You can’t perform that action at this time.
0 commit comments