Skip to content

Commit b2a6ee3

Browse files
committed
rename batch to batch delete
1 parent e1761f8 commit b2a6ee3

32 files changed

+566
-553
lines changed

Diff for: src/main/java/io/swagger/api/core/BatchesApi.java renamed to src/main/java/io/swagger/api/core/BatchDeletesApi.java

+44-44
Original file line numberDiff line numberDiff line change
@@ -24,104 +24,104 @@
2424
import java.util.ArrayList;
2525

2626
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2020-03-20T16:31:52.030Z[GMT]")
27-
@Api(value = "batches", description = "the batches API")
28-
public interface BatchesApi {
27+
@Api(value = "batchDeletes", description = "the batch deletes API")
28+
public interface BatchDeletesApi {
2929

30-
@ApiOperation(value = "Get the details of a specific Batch", nickname = "batchesBatchDbIdGet", notes = "Get a specific generic batches", response = BatchesSingleResponse.class, authorizations = {
31-
@Authorization(value = "AuthorizationToken") }, tags = { "Batches", })
32-
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = BatchesSingleResponse.class),
30+
@ApiOperation(value = "Get the details of a specific Batch Delete", nickname = "batchDeletesBatchDbIdGet", notes = "Get a specific generic batch delete", response = BatchDeletesSingleResponse.class, authorizations = {
31+
@Authorization(value = "AuthorizationToken") }, tags = { "BatchDeletes", })
32+
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = BatchDeletesSingleResponse.class),
3333
@ApiResponse(code = 400, message = "Bad Request", response = String.class),
3434
@ApiResponse(code = 401, message = "Unauthorized", response = String.class),
3535
@ApiResponse(code = 403, message = "Forbidden", response = String.class),
3636
@ApiResponse(code = 404, message = "Not Found", response = String.class) })
37-
@RequestMapping(value = "/batches/{batchDbId}", produces = { "application/json" }, method = RequestMethod.GET)
38-
ResponseEntity<BatchesSingleResponse> batchesBatchDbIdGet(
39-
@ApiParam(value = "The unique ID of this generic batch", required = true) @PathVariable("batchDbId") String batchDbId,
37+
@RequestMapping(value = "/batchDeletes/{batchDeleteDbId}", produces = { "application/json" }, method = RequestMethod.GET)
38+
ResponseEntity<BatchDeletesSingleResponse> batchDeletesBatchDbIdGet(
39+
@ApiParam(value = "The unique ID of this generic batch", required = true) @PathVariable("batchDeletDbId") String batchDbId,
4040
@ApiParam(value = "HTTP HEADER - Token used for Authorization <strong> Bearer {token_string} </strong>") @RequestHeader(value = "Authorization", required = false) String authorization)
4141
throws BrAPIServerException;
4242

43-
@ApiOperation(value = "Add Items to a specific Batch", nickname = "batchesBatchDbIdItemsPost", notes = "Add new data to a specific generic batches", response = BatchResponse.class, authorizations = {
44-
@Authorization(value = "AuthorizationToken") }, tags = { "Batches", })
45-
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = BatchResponse.class),
43+
@ApiOperation(value = "Add Items to a specific Batch Delete", nickname = "batchDeletesBatchDbIdItemsPost", notes = "Add new data to a specific generic batch delete", response = BatchDeleteResponse.class, authorizations = {
44+
@Authorization(value = "AuthorizationToken") }, tags = { "BatchDeletes", })
45+
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = BatchDeleteResponse.class),
4646
@ApiResponse(code = 400, message = "Bad Request", response = String.class),
4747
@ApiResponse(code = 401, message = "Unauthorized", response = String.class),
4848
@ApiResponse(code = 403, message = "Forbidden", response = String.class),
4949
@ApiResponse(code = 404, message = "Not Found", response = String.class) })
50-
@RequestMapping(value = "/batches/{batchDbId}/items", produces = { "application/json" }, consumes = {
50+
@RequestMapping(value = "/batchDeletes/{batchDeleteDbId}/items", produces = { "application/json" }, consumes = {
5151
"application/json" }, method = RequestMethod.POST)
52-
ResponseEntity<BatchResponse> batchesBatchDbIdItemsPost(
53-
@ApiParam(value = "The unique ID of this generic batch", required = true) @PathVariable("batchDbId") String batchDbId,
52+
ResponseEntity<BatchDeleteResponse> batchDeletesBatchDbIdItemsPost(
53+
@ApiParam(value = "The unique ID of this generic batch", required = true) @PathVariable("batchDeleteDbId") String batchDeleteDbId,
5454
@ApiParam(value = "") @Valid @RequestBody ArrayList<String> body,
5555
@ApiParam(value = "HTTP HEADER - Token used for Authorization <strong> Bearer {token_string} </strong>") @RequestHeader(value = "Authorization", required = false) String authorization)
5656
throws BrAPIServerException;
5757

58-
@ApiOperation(value = "Add Items to a specific Batch", nickname = "batchesBatchDbIdDataPost", notes = "Add new data to a specific generic batches", response = BatchResponse.class, authorizations = {
59-
@Authorization(value = "AuthorizationToken") }, tags = { "Batches", })
60-
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = BatchResponse.class),
58+
@ApiOperation(value = "Add Items to a specific Batch Delete", nickname = "batchDeletesBatchDbIdDataPost", notes = "Add new data to a specific generic batch delete", response = BatchDeleteResponse.class, authorizations = {
59+
@Authorization(value = "AuthorizationToken") }, tags = { "BatchDeletes", })
60+
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = BatchDeleteResponse.class),
6161
@ApiResponse(code = 400, message = "Bad Request", response = String.class),
6262
@ApiResponse(code = 401, message = "Unauthorized", response = String.class),
6363
@ApiResponse(code = 403, message = "Forbidden", response = String.class),
6464
@ApiResponse(code = 404, message = "Not Found", response = String.class) })
65-
@RequestMapping(value = "/batches/{batchDbId}/data", produces = { "application/json" }, consumes = {
65+
@RequestMapping(value = "/batchDeletes/{batchDeleteDbId}/data", produces = { "application/json" }, consumes = {
6666
"application/json" }, method = RequestMethod.POST)
67-
ResponseEntity<BatchResponse> batchesBatchDbIdDataPost(
68-
@ApiParam(value = "The unique ID of this generic batch", required = true) @PathVariable("batchDbId") String batchDbId,
67+
ResponseEntity<BatchDeleteResponse> batchDeletesBatchDbIdDataPost(
68+
@ApiParam(value = "The unique ID of this generic batch", required = true) @PathVariable("batchDeleteDbId") String batchDbId,
6969
@ApiParam(value = "") @Valid @RequestBody ArrayList<String> body,
7070
@ApiParam(value = "HTTP HEADER - Token used for Authorization <strong> Bearer {token_string} </strong>") @RequestHeader(value = "Authorization", required = false) String authorization)
7171
throws BrAPIServerException;
7272

73-
@ApiOperation(value = "Update an existing generic batch", nickname = "batchesBatchDbIdPut", notes = "Update an existing generic batch", response = BatchesSingleResponse.class, authorizations = {
74-
@Authorization(value = "AuthorizationToken") }, tags = { "Batches", })
75-
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = BatchesSingleResponse.class),
73+
@ApiOperation(value = "Update an existing generic batch delete", nickname = "batchDeletesBatchDbIdPut", notes = "Update an existing generic batch delete", response = BatchDeletesSingleResponse.class, authorizations = {
74+
@Authorization(value = "AuthorizationToken") }, tags = { "BatchDeletes", })
75+
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = BatchDeletesSingleResponse.class),
7676
@ApiResponse(code = 400, message = "Bad Request", response = String.class),
7777
@ApiResponse(code = 401, message = "Unauthorized", response = String.class),
7878
@ApiResponse(code = 403, message = "Forbidden", response = String.class),
7979
@ApiResponse(code = 404, message = "Not Found", response = String.class) })
80-
@RequestMapping(value = "/batches/{batchDbId}", produces = { "application/json" }, consumes = {
80+
@RequestMapping(value = "/batchDeletes/{batchDeleteDbId}", produces = { "application/json" }, consumes = {
8181
"application/json" }, method = RequestMethod.PUT)
82-
ResponseEntity<BatchesSingleResponse> batchesBatchDbIdPut(
83-
@ApiParam(value = "The unique ID of this generic batch", required = true) @PathVariable("batchDbId") String batchDbId,
84-
@ApiParam(value = "") @Valid @RequestBody BatchNewRequest body,
82+
ResponseEntity<BatchDeletesSingleResponse> batchDeletesBatchDbIdPut(
83+
@ApiParam(value = "The unique ID of this generic batch", required = true) @PathVariable("batchDeleteDbId") String batchDbId,
84+
@ApiParam(value = "") @Valid @RequestBody BatchDeleteNewRequest body,
8585
@ApiParam(value = "HTTP HEADER - Token used for Authorization <strong> Bearer {token_string} </strong>") @RequestHeader(value = "Authorization", required = false) String authorization)
8686
throws BrAPIServerException;
8787

88-
@ApiOperation(value = "Create a New Batch", nickname = "batchesPost", notes = "Create a new batch", response = BatchesListResponse.class, authorizations = {
89-
@Authorization(value = "AuthorizationToken") }, tags = { "Batches", })
90-
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = BatchesListResponse.class),
88+
@ApiOperation(value = "Create a New Batch Delete", nickname = "batchDeletesPost", notes = "Create a new batch delete", response = BatchDeletesListResponse.class, authorizations = {
89+
@Authorization(value = "AuthorizationToken") }, tags = { "BatchDeletes", })
90+
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = BatchDeletesListResponse.class),
9191
@ApiResponse(code = 400, message = "Bad Request", response = String.class),
9292
@ApiResponse(code = 401, message = "Unauthorized", response = String.class),
9393
@ApiResponse(code = 403, message = "Forbidden", response = String.class) })
94-
@RequestMapping(value = "/batches", produces = { "application/json" }, consumes = {
94+
@RequestMapping(value = "/batchDeletes", produces = { "application/json" }, consumes = {
9595
"application/json" }, method = RequestMethod.POST)
96-
ResponseEntity<? extends BrAPIResponse> batchesPost(@ApiParam(value = "") @Valid @RequestBody BatchSearchRequest body,
97-
@ApiParam(value = "HTTP HEADER - Token used for Authorization <strong> Bearer {token_string} </strong>") @RequestHeader(value = "Authorization", required = false) String authorization)
96+
ResponseEntity<? extends BrAPIResponse> batchDeletesPost(@ApiParam(value = "") @Valid @RequestBody BatchDeleteSearchRequest body,
97+
@ApiParam(value = "HTTP HEADER - Token used for Authorization <strong> Bearer {token_string} </strong>") @RequestHeader(value = "Authorization", required = false) String authorization)
9898
throws BrAPIServerException;
9999

100-
@ApiOperation(value = "Get the results of a Batch search request", nickname = "searchBatchesSearchResultsDbIdGet", notes = "Advanced searching for the batch resource. See Search Services for additional implementation details.", response = BatchesListResponse.class, authorizations = {
101-
@Authorization(value = "AuthorizationToken") }, tags = { "Batches", })
102-
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = BatchesListResponse.class),
100+
@ApiOperation(value = "Get the results of a Batch Delete search request", nickname = "searchBatchDeletesSearchResultsDbIdGet", notes = "Advanced searching for the batch delete resource. See Search Services for additional implementation details.", response = BatchDeletesListResponse.class, authorizations = {
101+
@Authorization(value = "AuthorizationToken") }, tags = { "BatchDeletes", })
102+
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = BatchDeletesListResponse.class),
103103
@ApiResponse(code = 202, message = "Accepted", response = Model202AcceptedSearchResponse.class),
104104
@ApiResponse(code = 400, message = "Bad Request", response = String.class),
105105
@ApiResponse(code = 401, message = "Unauthorized", response = String.class),
106106
@ApiResponse(code = 403, message = "Forbidden", response = String.class) })
107-
@RequestMapping(value = "/search/batches/{searchResultsDbId}", produces = {
107+
@RequestMapping(value = "/search/batchDeletes/{searchResultsDbId}", produces = {
108108
"application/json" }, method = RequestMethod.GET)
109-
ResponseEntity<? extends BrAPIResponse> searchBatchesSearchResultsDbIdGet(
109+
ResponseEntity<? extends BrAPIResponse> searchBatchDeletesSearchResultsDbIdGet(
110110
@ApiParam(value = "Permanent unique identifier which references the search results", required = true) @PathVariable("searchResultsDbId") String searchResultsDbId,
111111
@ApiParam(value = "page") @Valid @RequestParam(value = "page", required = false) Integer page,
112112
@ApiParam(value = "pageSize") @Valid @RequestParam(value = "pageSize", required = false) Integer pageSize,
113113
@ApiParam(value = "HTTP HEADER - Token used for Authorization <strong> Bearer {token_string} </strong>") @RequestHeader(value = "Authorization", required = false) String authorization) throws BrAPIServerException;
114114

115-
@ApiOperation(value = "Delete a specific Batch", nickname = "batchesBatchDbIdDelete", notes = "Delete a specific generic batch", response = BatchesSingleResponse.class, authorizations = {
116-
@Authorization(value = "AuthorizationToken") }, tags = { "Batches", })
117-
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = BatchesSingleResponse.class),
115+
@ApiOperation(value = "Delete a specific Batch Delete", nickname = "batchDeletesBatchDbIdDelete", notes = "Delete a specific generic batch delete", response = BatchDeletesSingleResponse.class, authorizations = {
116+
@Authorization(value = "AuthorizationToken") }, tags = { "BatchDeletes", })
117+
@ApiResponses(value = { @ApiResponse(code = 200, message = "OK", response = BatchDeletesSingleResponse.class),
118118
@ApiResponse(code = 400, message = "Bad Request", response = String.class),
119119
@ApiResponse(code = 401, message = "Unauthorized", response = String.class),
120120
@ApiResponse(code = 403, message = "Forbidden", response = String.class),
121121
@ApiResponse(code = 404, message = "Not Found", response = String.class) })
122-
@RequestMapping(value = "/batches/{batchDbId}", produces = { "application/json" }, method = RequestMethod.DELETE)
123-
ResponseEntity<BatchesSingleResponse> batchesBatchDbIdDelete(
124-
@ApiParam(value = "The unique ID of this generic batch", required = true) @PathVariable("batchDbId") String batchDbId,
122+
@RequestMapping(value = "/batchDeletes/{batchDeleteDbId}", produces = { "application/json" }, method = RequestMethod.DELETE)
123+
ResponseEntity<BatchDeletesSingleResponse> batchDeletesBatchDbIdDelete(
124+
@ApiParam(value = "The unique ID of this generic batch", required = true) @PathVariable("batchDeleteDbId") String batchDbId,
125125
@ApiParam(value = "hard") @Valid @RequestParam(value = "hardDelete", defaultValue = "false", required = false) boolean hardDelete,
126126
@ApiParam(value = "HTTP HEADER - Token used for Authorization <strong> Bearer {token_string} </strong>") @RequestHeader(value = "Authorization", required = false) String authorization)
127127
throws BrAPIServerException;

Diff for: src/main/java/io/swagger/model/core/BatchBaseFieldsInterface.java

-75
This file was deleted.

0 commit comments

Comments
 (0)