We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da64fdd commit ff3e102Copy full SHA for ff3e102
README.md
@@ -67,8 +67,10 @@ This command will generate API client described in swagger.json file to ./output
67
/* Default configuration and all of it's properties is optional */
68
APIClientModule.forRoot({
69
domain: 'https://api.url', // or use value defined in environment `environment.apiUrl`
70
- headers: {myCustomHeader: 'this will appear in every request as one of the headers'},
71
- params: {someParam: 'customParam'},
+ httpOptions: {
+ headers: {myCustomHeader: 'this will appear in every request as one of the headers'},
72
+ params: {someParam: 'customParam'},
73
+ }
74
}),
75
/* ... other imports */
76
HttpClientModule, // <<= this is very important import
0 commit comments