Skip to content

Commit 33025ad

Browse files
committed
update README
1 parent c43473a commit 33025ad

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,16 @@ npm install saddleback-openapi-typescript-codegen --save-dev
1717
2. microservice that you're specifying ("Events")
1818
3. environment that using for fetch ("feature")
1919
4. if you don't want to generate whole microservices, you can specify filterMethod and filterArray
20-
4. run the command where you should pass your login and pass from saddleback identity server `saddlebackApi --config openapiEvents.config.json --login login --password password`
20+
4. create utility files that used in services
21+
1. 'baseAxios' should export axios instance that be used for fetch
22+
2. 'getBaseConfig' and 'serviceError' described here https://github.com/saddlebackdev/church-management/wiki/Services
23+
5. run the command where you should pass your login and pass from saddleback identity server `saddlebackApi --config openapiEvents.config.json --login login --password password`
2124
### local swagger
2225
1. same as above
2326
2. same as above
2427
3. addition specify the input path to the swagger.json file
25-
4. run the command `saddlebackApi --config openapiEvents.config.json`
28+
4. same as above
29+
5. run the command `saddlebackApi --config openapiEvents.config.json`
2630

2731
## Usage
2832

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "saddleback-openapi-typescript-codegen",
3-
"version": "0.33.0",
3+
"version": "0.34.0",
44
"description": "Library that generates Typescript clients based on the OpenAPI specification.",
55
"author": "Ferdi Koomen",
66
"homepage": "https://github.com/ferdikoomen/openapi-typescript-codegen",

0 commit comments

Comments
 (0)