Skip to content

Commit

Permalink
Improve api tags
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalgrimaud committed Nov 13, 2021
1 parent 14ff80c commit 28531c2
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@RestController
@RequestMapping("/api/build-tools/maven")
@Api(tags = "Maven")
@Api(tags = "Build Tool")
class MavenResource {

private final MavenApplicationService mavenApplicationService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@RestController
@RequestMapping("/api/servers/java/error")
@Api(tags = "Error")
@Api(tags = "Java")
class ErrorResource {

private final ErrorApplicationService errorApplicationService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@RestController
@RequestMapping("/api/servers/spring-boot/databases/postgresql")
@Api(tags = "PostgreSQL")
@Api(tags = "Spring Boot - Database")
class PostgresqlResource {

private final PostgresqlApplicationService postgresqlApplicationService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
import tech.jhipster.forge.generator.server.springboot.dbmigration.liquibase.application.LiquibaseApplicationService;

@RestController
@RequestMapping("/api/servers/spring-boot/dbmigration/liquibase")
@Api(tags = "Liquibase")
@RequestMapping("/api/servers/spring-boot/databases/migration/liquibase")
@Api(tags = "Spring Boot - Database")
class LiquibaseResource {

private final LiquibaseApplicationService liquibaseApplicationService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@RestController
@RequestMapping("/api/servers/spring-boot/web")
@Api(tags = "Spring Boot Web")
@Api(tags = "Spring Boot - Server Web")
class SpringBootWebResource {

private final SpringBootWebApplicationService springBootWebApplicationService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void shouldInit() throws Exception {

mockMvc
.perform(
post("/api/servers/spring-boot/dbmigration/liquibase")
post("/api/servers/spring-boot/databases/migration/liquibase")
.contentType(MediaType.APPLICATION_JSON)
.content(TestUtils.convertObjectToJsonBytes(projectDTO))
)
Expand Down

0 comments on commit 28531c2

Please sign in to comment.