• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

torresj / community-api / 2

23 May 2025 01:56PM UTC coverage: 22.105%. First build
2

push

circleci

Jaime Torres Benavente
Project ready to be deployed

42 of 173 new or added lines in 18 files covered. (24.28%)

42 of 190 relevant lines covered (22.11%)

0.22 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/torresj/community/configs/SwaggerConfig.java
1
package com.torresj.community.configs;
2

3
import io.swagger.v3.oas.models.OpenAPI;
4
import io.swagger.v3.oas.models.info.Info;
5
import io.swagger.v3.oas.models.info.License;
6
import lombok.AllArgsConstructor;
7
import org.springframework.beans.factory.annotation.Value;
8
import org.springframework.context.annotation.Bean;
9
import org.springframework.context.annotation.Configuration;
10

11
@Configuration
12
@AllArgsConstructor
13
public class SwaggerConfig {
14

15
    @Value("${info.app.version}")
16
    private final String version;
17

18
    @Bean
19
    public OpenAPI springOpenAPI() {
NEW
20
        return new OpenAPI()
×
NEW
21
                .info(
×
22
                        new Info()
NEW
23
                                .title("Community API")
×
NEW
24
                                .description("Community API")
×
NEW
25
                                .version(version)
×
NEW
26
                                .license(
×
27
                                        new License()
NEW
28
                                                .name("GNU General Public License V3.0")
×
NEW
29
                                                .url("https://www.gnu.org/licenses/gpl-3.0.html")));
×
30
    }
31
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc