All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.willingxyz.restdoc.springswagger3.SwaggerUIConfiguration Maven / Gradle / Ivy

There is a newer version: 0.2.1.4
Show newest version
package cn.willingxyz.restdoc.springswagger3;

import lombok.Data;
import org.springframework.context.annotation.Conditional;
import org.springframework.stereotype.Component;

/**
 * 配置swagger-ui
 * 具体配置参考:https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md
 */
@Data
public class SwaggerUIConfiguration {
    private boolean _deepLinking = true;
    private boolean _displayOperationId = false;
    private int _defaultModelsExpandDepth = 0;
    private int _defaultModelExpandDepth = 100;
    private String _defaultModelRendering = "example";
    private boolean _displayRequestDuration = true;

    private String _docExpansion = "none";
    private int _maxDisplayedTags;
    private boolean _showExtensions;
    private boolean _showCommonExtensions;

    private String _layout = "StandaloneLayout";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy