mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Added responseInterceptor swagger-ui-dist (#40643)
* Added responseInterceptor * Fixed typo
This commit is contained in:
committed by
Ron Buckton
parent
746dfcbb72
commit
0614df6833
Vendored
+10
@@ -99,6 +99,12 @@ export interface SwaggerConfigs {
|
||||
*/
|
||||
requestInterceptor?: ((request: SwaggerRequest) => SwaggerRequest);
|
||||
|
||||
/**
|
||||
* Function to intercept remote definition, "Try it out", and OAuth 2.0 responses.
|
||||
* Accepts one argument responseInterceptor(response) and must return the modified response, or a Promise that resolves to the modified response.
|
||||
*/
|
||||
responseInterceptor?: ((response: SwaggerResponse) => SwaggerResponse);
|
||||
|
||||
[k: string]: any;
|
||||
}
|
||||
|
||||
@@ -118,4 +124,8 @@ export interface SwaggerRequest {
|
||||
[k: string]: any;
|
||||
}
|
||||
|
||||
export interface SwaggerResponse {
|
||||
[k: string]: any;
|
||||
}
|
||||
|
||||
export const SwaggerUIStandalonePreset: any;
|
||||
|
||||
Reference in New Issue
Block a user