Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve api tags #192

Merged
merged 1 commit into from
Nov 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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