mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-11-04 10:57:10 +08:00 
			
		
		
		
	release: v1.0.0
This commit is contained in:
		@@ -49,10 +49,10 @@ public class SwaggerConfiguration {
 | 
			
		||||
     */
 | 
			
		||||
    @Bean
 | 
			
		||||
    public OpenAPI openApi() {
 | 
			
		||||
        return new OpenAPI().info(
 | 
			
		||||
            new Info().title(continewAdminProperties.getName() + " 接口文档").version(continewAdminProperties.getVersion())
 | 
			
		||||
                .description(continewAdminProperties.getDescription()).termsOfService(continewAdminProperties.getUrl())
 | 
			
		||||
                .contact(continewAdminProperties.getAuthor()).license(continewAdminProperties.getLicense()));
 | 
			
		||||
        return new OpenAPI().info(new Info().title(continewAdminProperties.getName() + " 接口文档")
 | 
			
		||||
            .version(String.format("v%s", continewAdminProperties.getVersion()))
 | 
			
		||||
            .description(continewAdminProperties.getDescription()).termsOfService(continewAdminProperties.getUrl())
 | 
			
		||||
            .contact(continewAdminProperties.getAuthor()).license(continewAdminProperties.getLicense()));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user