app/templates/public/swagger-ui/swagger-ui.js
function(data){
    if (data === undefined) {
      data = '';
    }
    var $msgbar = $('#message-bar');
    $msgbar.removeClass('message-fail');
    $msgbar.addClass('message-success');
    $msgbar.text(data);
    if(window.SwaggerTranslator) {
      window.SwaggerTranslator.translate($msgbar);
    }
  }
function(data){
    if (data === undefined) {
      data = '';
    }
    var $msgbar = $('#message-bar');
    $msgbar.removeClass('message-fail');
    $msgbar.addClass('message-success');
    $msgbar.text(data);
    if(window.SwaggerTranslator) {
      window.SwaggerTranslator.translate($msgbar);
    }
  }
function ( data ) { if ( data === undefined ) { data = '' ; } var $msgbar = $ ( '#message-bar' ) ; $msgbar . removeClass ( 'message-fail' ) ; $msgbar . addClass ( 'message-success' ) ; $msgbar . text ( data ) ; if ( window . SwaggerTranslator ) { window . SwaggerTranslator . translate ( $msgbar ) ; } }
Shows message on topbar of the ui
Shows message on topbar of the ui