@devlearning/swagger-generator 1.1.22 → 1.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.constants.d.ts +1 -1
- package/dist/api.constants.js +1 -1
- package/package.json +1 -1
- package/src/api.constants.ts +1 -1
package/dist/api.constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const API_PRE = "import { HttpClient } from '@angular/common/http';\nimport { Observable, catchError, map } from 'rxjs';\nimport * as Models from './model.autogenerated';\nimport { HttpHeaders } from \"@angular/common/http\";\n\nexport const httpOptions = {\n headers: new HttpHeaders({ 'Content-Type': 'application/json' }),\n};\n\nexport const httpOptionsMultipart = {};\n\nexport abstract class ApiAutogeneratedService {\n constructor(\n public _http: HttpClient,\n public _baseUrl: string,\n ) { }\n\n protected abstract _momentToString(moment: moment.Moment): string;\n protected abstract _handleRequest<T>(request: T): T;\n protected abstract _handleMultipart<T>(request: T): FormData;\n protected abstract _handleResponse<T>(response: T): T;\n protected abstract _handleError(error: any, obs: any): Observable<never>;\n";
|
|
1
|
+
export declare const API_PRE = "import { HttpClient } from '@angular/common/http';\nimport { Observable, catchError, map } from 'rxjs';\nimport * as Models from './model.autogenerated';\nimport { HttpHeaders } from \"@angular/common/http\";\n\nexport const httpOptions = {\n headers: new HttpHeaders({ 'Content-Type': 'application/json' }),\n};\n\nexport const httpOptionsMultipart = {};\n\nexport abstract class ApiAutogeneratedService {\n constructor(\n public _http: HttpClient,\n public _baseUrl: string,\n ) { }\n\n protected abstract _momentToString(moment: moment.Moment): string;\n protected abstract _handleRequest<T>(request: T): T;\n protected abstract _handleMultipart<T>(request: T): FormData;\n protected abstract _handleResponse<T>(response: T): T;\n protected abstract _handleError(error: any, obs: any, skipErrorHandling: boolean): Observable<never>;\n";
|
|
2
2
|
export declare const API_POST = "}";
|
package/dist/api.constants.js
CHANGED
|
@@ -19,6 +19,6 @@ export abstract class ApiAutogeneratedService {
|
|
|
19
19
|
protected abstract _handleRequest<T>(request: T): T;
|
|
20
20
|
protected abstract _handleMultipart<T>(request: T): FormData;
|
|
21
21
|
protected abstract _handleResponse<T>(response: T): T;
|
|
22
|
-
protected abstract _handleError(error: any, obs: any): Observable<never>;
|
|
22
|
+
protected abstract _handleError(error: any, obs: any, skipErrorHandling: boolean): Observable<never>;
|
|
23
23
|
`;
|
|
24
24
|
export const API_POST = `}`;
|
package/package.json
CHANGED
package/src/api.constants.ts
CHANGED
|
@@ -20,7 +20,7 @@ export abstract class ApiAutogeneratedService {
|
|
|
20
20
|
protected abstract _handleRequest<T>(request: T): T;
|
|
21
21
|
protected abstract _handleMultipart<T>(request: T): FormData;
|
|
22
22
|
protected abstract _handleResponse<T>(response: T): T;
|
|
23
|
-
protected abstract _handleError(error: any, obs: any): Observable<never>;
|
|
23
|
+
protected abstract _handleError(error: any, obs: any, skipErrorHandling: boolean): Observable<never>;
|
|
24
24
|
`;
|
|
25
25
|
|
|
26
26
|
export const API_POST =
|