disable Swagger validation badge
This commit is contained in:
parent
0ec7e52711
commit
71a7d9fa15
|
@ -18,6 +18,7 @@ $(function() {
|
||||||
function loadSwaggerUi(config) {
|
function loadSwaggerUi(config) {
|
||||||
var methodOrder = ['get', 'head', 'options', 'put', 'post', 'delete'];
|
var methodOrder = ['get', 'head', 'options', 'put', 'post', 'delete'];
|
||||||
window.swaggerUi = new SwaggerUi({
|
window.swaggerUi = new SwaggerUi({
|
||||||
|
validatorUrl: null,
|
||||||
url: config.url || '/swagger/resources',
|
url: config.url || '/swagger/resources',
|
||||||
apiKey: '',
|
apiKey: '',
|
||||||
dom_id: 'swagger-ui-container',
|
dom_id: 'swagger-ui-container',
|
||||||
|
|
Loading…
Reference in New Issue