Revize 5e80d91e
Přidáno uživatelem Lukáš Vlček před asi 3 roky(ů)
webapp/generate-api.sh | ||
---|---|---|
1 |
#!/bin/bash |
|
2 |
rm -rf api |
|
3 |
npx @openapitools/openapi-generator-cli generate \ |
|
4 |
-i http://localhost:8080/v3/api-docs \ |
|
5 |
-g typescript-axios \ |
|
6 |
-o api |
Také k dispozici: Unified diff
RestApi client generation script based on OpenAPI (swagger)