File tree Expand file tree Collapse file tree 3 files changed +1199
-2
lines changed
Expand file tree Collapse file tree 3 files changed +1199
-2
lines changed Original file line number Diff line number Diff line change 33rm -rf dist types
44mkdir -p dist types
55wget -O dist/simard.yaml https://qa.payment.simard.io/api/docs/simard.yaml
6- wget -O dist/derbysoft.yaml https://qa.hotels.simard.io/v1/docs/yaml
6+ # wget -O dist/derbysoft.yaml https://qa.hotels.simard.io/v1/docs/yaml
7+ cp src/derbysoft-proxy.yaml dist/derbysoft.yaml
78wget -O dist/win.yaml https://raw.githubusercontent.com/windingtree/win-backend/main/swagger/swagger.yaml
89node scripts/parse.js
910npx json2ts --unreachableDefinitions --input dist/simard.json --output types/simard.d.ts
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ const files = [
4747 } ,
4848 {
4949 name : 'DerbysoftProxy' ,
50- path : 'dist /derbysoft.yaml' ,
50+ path : 'src /derbysoft-proxy .yaml' ,
5151 definitions : 'components.schemas' ,
5252 replacePath : 'components/schemas' ,
5353 out : 'dist/derbysoft.json'
You can’t perform that action at this time.
0 commit comments