code to pass doneSuccess and doneFailure callback functions. doneSuccess is invoked after successful rendering of swagger-ui and doneFailure is invoke if there is failure in rendering swagger-ui
This commit is contained in:
@@ -46,7 +46,10 @@
|
||||
apiKey:"special-key",
|
||||
dom_id:"swagger-ui-container",
|
||||
supportHeaderParams: false,
|
||||
supportedSubmitMethods: ['get', 'post', 'put']
|
||||
supportedSubmitMethods: ['get', 'post', 'put'],
|
||||
doneSuccess: function(){
|
||||
console.log("DONE!!!")
|
||||
}
|
||||
});
|
||||
|
||||
window.swaggerUi.load();
|
||||
|
||||
Reference in New Issue
Block a user