mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
Remove unused imports, adding missing dots in descriptions, remove last TypeHint annotation
This commit is contained in:
@@ -85,7 +85,7 @@ public class IncomingRootResource {
|
||||
@GET
|
||||
@Path("{source}/{target}/changesets")
|
||||
@Produces(VndMediaType.CHANGESET_COLLECTION)
|
||||
@Operation(summary = "Incoming changesets", description = "Get the incoming changesets from source to target", tags = "Repository")
|
||||
@Operation(summary = "Incoming changesets", description = "Get the incoming changesets from source to target.", tags = "Repository")
|
||||
@ApiResponse(
|
||||
responseCode = "200",
|
||||
description = "success",
|
||||
@@ -138,7 +138,7 @@ public class IncomingRootResource {
|
||||
@GET
|
||||
@Path("{source}/{target}/diff")
|
||||
@Produces(VndMediaType.DIFF)
|
||||
@Operation(summary = "Incoming diff", description = "Get the incoming diff from source to target", tags = "Repository")
|
||||
@Operation(summary = "Incoming diff", description = "Get the incoming diff from source to target.", tags = "Repository")
|
||||
@ApiResponse(
|
||||
responseCode = "200",
|
||||
description = "success",
|
||||
@@ -189,7 +189,7 @@ public class IncomingRootResource {
|
||||
@GET
|
||||
@Path("{source}/{target}/diff/parsed")
|
||||
@Produces(VndMediaType.DIFF_PARSED)
|
||||
@Operation(summary = "Incoming parsed diff", description = "Get the incoming parsed diff from source to target", tags = "Repository")
|
||||
@Operation(summary = "Incoming parsed diff", description = "Get the incoming parsed diff from source to target.", tags = "Repository")
|
||||
@ApiResponse(
|
||||
responseCode = "200",
|
||||
description = "success",
|
||||
|
||||
@@ -57,7 +57,6 @@ public class IndexResource {
|
||||
schema = @Schema(implementation = ErrorDto.class)
|
||||
)
|
||||
)
|
||||
@TypeHint(IndexDto.class)
|
||||
public IndexDto getIndex() {
|
||||
return indexDtoGenerator.generate();
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
package sonia.scm.api.v2.resources;
|
||||
|
||||
import com.webcohesion.enunciate.metadata.rs.ResponseCode;
|
||||
import com.webcohesion.enunciate.metadata.rs.StatusCodes;
|
||||
import de.otto.edison.hal.HalRepresentation;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.media.Content;
|
||||
|
||||
@@ -65,8 +65,6 @@ public class RepositoryCollectionResource {
|
||||
@Path("")
|
||||
@Produces(VndMediaType.REPOSITORY_COLLECTION)
|
||||
@Operation(summary = "List of repositories", description = "Returns all repositories for a given page number with a given page size.", tags = "Repository")
|
||||
|
||||
|
||||
@ApiResponse(
|
||||
responseCode = "200",
|
||||
description = "success",
|
||||
|
||||
Reference in New Issue
Block a user