blob: b73b6e0f30f8336f9977a1048dce8ebd152e2dbe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (5.3.1).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.openslx.bwlp.sat.api.handler;
import java.util.UUID;
import io.swagger.annotations.*;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.context.request.NativeWebRequest;
import org.springframework.web.multipart.MultipartFile;
import javax.validation.Valid;
import javax.validation.constraints.*;
import java.util.List;
import java.util.Map;
import java.util.Optional;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2021-12-23T15:12:42.264617368+01:00[Europe/Berlin]")
@Validated
@Api(value = "image", description = "the image API")
public interface ImageApi {
default Optional<NativeWebRequest> getRequest() {
return Optional.empty();
}
/**
* GET /image/container/{uuid}/metadata : Get metadata for specified container image
*
* @param uuid UUID of the container (required)
* @return Successful operation (status code 200)
* or Failed to retrieve container metadata (status code 500)
*/
@ApiOperation(value = "Get metadata for specified container image", nickname = "getContainerImageMetadata", notes = "", tags={ "container", })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "Successful operation"),
@ApiResponse(code = 500, message = "Failed to retrieve container metadata") })
@RequestMapping(
method = RequestMethod.GET,
value = "/image/container/{uuid}/metadata",
produces = { "application/json" }
)
default ResponseEntity<Void> getContainerImageMetadata(@ApiParam(value = "UUID of the container", required = true) @PathVariable("uuid") UUID uuid
) {
return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED);
}
}
|