Skip to content

Commit

Permalink
#251 Fix Parameter without description
Browse files Browse the repository at this point in the history
  • Loading branch information
jemacineiras committed Aug 8, 2023
1 parent a9d6a95 commit 560e26b
Show file tree
Hide file tree
Showing 18 changed files with 333 additions and 333 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ public interface TestApi {
*/

@Operation(
operationId = "listTest",
summary = "List all available test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "A paged array of tests", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
operationId = "listTest",
summary = "List all available test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "A paged array of tests", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
)
@RequestMapping(
method = RequestMethod.GET,
Expand All @@ -52,13 +52,13 @@ default ResponseEntity<ApiTestDTO> listTest() {
*/

@Operation(
operationId = "showTestById",
summary = "Info for a specific test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "Expected response to a valid request", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestInfoDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
operationId = "showTestById",
summary = "Info for a specific test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "Expected response to a valid request", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestInfoDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
)
@RequestMapping(
method = RequestMethod.GET,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ public interface TestApi {
*/

@Operation(
operationId = "listTest",
summary = "List all available test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "A paged array of tests", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
operationId = "listTest",
summary = "List all available test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "A paged array of tests", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
)
@RequestMapping(
method = RequestMethod.GET,
Expand All @@ -52,13 +52,13 @@ default ResponseEntity<ApiTestDTO> listTest() {
*/

@Operation(
operationId = "showTestById",
summary = "Info for a specific test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "Expected response to a valid request", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestInfoDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
operationId = "showTestById",
summary = "Info for a specific test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "Expected response to a valid request", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestInfoDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
)
@RequestMapping(
method = RequestMethod.GET,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ public interface TestApi {
*/

@Operation(
operationId = "listTest",
summary = "List all available test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "A paged array of tests", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
operationId = "listTest",
summary = "List all available test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "A paged array of tests", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
)
@RequestMapping(
method = RequestMethod.GET,
Expand All @@ -52,13 +52,13 @@ default ResponseEntity<ApiTestDTO> listTest() {
*/

@Operation(
operationId = "showTestById",
summary = "Info for a specific test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "Expected response to a valid request", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestInfoDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
operationId = "showTestById",
summary = "Info for a specific test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "Expected response to a valid request", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestInfoDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
)
@RequestMapping(
method = RequestMethod.GET,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ public interface TestApi {
*/

@Operation(
operationId = "listTest",
summary = "List all available test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "A paged array of tests", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
operationId = "listTest",
summary = "List all available test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "A paged array of tests", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
)
@RequestMapping(
method = RequestMethod.GET,
Expand All @@ -52,13 +52,13 @@ default ResponseEntity<ApiTestDTO> listTest() {
*/

@Operation(
operationId = "showTestById",
summary = "Info for a specific test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "Expected response to a valid request", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestInfoDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
operationId = "showTestById",
summary = "Info for a specific test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "Expected response to a valid request", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestInfoDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
)
@RequestMapping(
method = RequestMethod.GET,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ public interface TestApi {
*/

@Operation(
operationId = "listTest",
summary = "List all available test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "A paged array of tests", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
operationId = "listTest",
summary = "List all available test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "A paged array of tests", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
)
@RequestMapping(
method = RequestMethod.GET,
Expand All @@ -52,13 +52,13 @@ default ResponseEntity<ApiTestDTO> listTest() {
*/

@Operation(
operationId = "showTestById",
summary = "Info for a specific test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "Expected response to a valid request", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestInfoDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
operationId = "showTestById",
summary = "Info for a specific test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "Expected response to a valid request", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestInfoDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
)
@RequestMapping(
method = RequestMethod.GET,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ public interface TestApi {
*/

@Operation(
operationId = "listTest",
summary = "List all available test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "A paged array of tests", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
operationId = "listTest",
summary = "List all available test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "A paged array of tests", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
)
@RequestMapping(
method = RequestMethod.GET,
Expand All @@ -53,13 +53,13 @@ default ResponseEntity<ApiTestDTO> listTest() {
*/

@Operation(
operationId = "showTestById",
summary = "Info for a specific test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "Expected response to a valid request", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestInfoDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
operationId = "showTestById",
summary = "Info for a specific test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "Expected response to a valid request", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiTestInfoDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ApiErrorDTO.class)))
}
)
@RequestMapping(
method = RequestMethod.GET,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ public interface TestApi {
*/

@Operation(
operationId = "listTest",
summary = "List all available test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "A paged array of tests", content = @Content(mediaType = "application/json", schema = @Schema(implementation = TestDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ErrorDTO.class)))
}
operationId = "listTest",
summary = "List all available test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "A paged array of tests", content = @Content(mediaType = "application/json", schema = @Schema(implementation = TestDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ErrorDTO.class)))
}
)
@RequestMapping(
method = RequestMethod.GET,
Expand All @@ -52,13 +52,13 @@ default ResponseEntity<TestDTO> listTest() {
*/

@Operation(
operationId = "showTestById",
summary = "Info for a specific test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "Expected response to a valid request", content = @Content(mediaType = "application/json", schema = @Schema(implementation = TestInfoDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ErrorDTO.class)))
}
operationId = "showTestById",
summary = "Info for a specific test",
tags = {"test"},
responses = {
@ApiResponse(responseCode = "200", description = "Expected response to a valid request", content = @Content(mediaType = "application/json", schema = @Schema(implementation = TestInfoDTO.class))),
@ApiResponse(responseCode = "default", description = "unexpected error", content = @Content(mediaType = "application/json", schema = @Schema(implementation = ErrorDTO.class)))
}
)
@RequestMapping(
method = RequestMethod.GET,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ public interface SchemaApi {
*/

@Operation(
operationId = "createSchema",
tags = {"schemas"},
responses = {
@ApiResponse(responseCode = "200", description = "OK", content = @Content(mediaType = "application/json", schema = @Schema(implementation = SchemaDTO.class))),
@ApiResponse(responseCode = "400", description = "Bad Request"),
@ApiResponse(responseCode = "500", description = "Server Error")
}
operationId = "createSchema",
tags = {"schemas"},
responses = {
@ApiResponse(responseCode = "200", description = "OK", content = @Content(mediaType = "application/json", schema = @Schema(implementation = SchemaDTO.class))),
@ApiResponse(responseCode = "400", description = "Bad Request"),
@ApiResponse(responseCode = "500", description = "Server Error")
}
)
@RequestMapping(
method = RequestMethod.POST,
Expand All @@ -51,14 +51,14 @@ default ResponseEntity<SchemaDTO> createSchema(@Parameter(name = "schemaDTO", de
*/

@Operation(
operationId = "getSchema",
tags = {"schemas"},
responses = {
@ApiResponse(responseCode = "200", description = "OK", content = @Content(mediaType = "application/json", schema = @Schema(implementation = SchemaDTO.class))),
@ApiResponse(responseCode = "400", description = "Bad Request"),
@ApiResponse(responseCode = "404", description = "Not Found"),
@ApiResponse(responseCode = "500", description = "Server Error")
}
operationId = "getSchema",
tags = {"schemas"},
responses = {
@ApiResponse(responseCode = "200", description = "OK", content = @Content(mediaType = "application/json", schema = @Schema(implementation = SchemaDTO.class))),
@ApiResponse(responseCode = "400", description = "Bad Request"),
@ApiResponse(responseCode = "404", description = "Not Found"),
@ApiResponse(responseCode = "500", description = "Server Error")
}
)
@RequestMapping(
method = RequestMethod.GET,
Expand All @@ -77,14 +77,14 @@ default ResponseEntity<SchemaDTO> getSchema(@Parameter(name = "name", descriptio
*/

@Operation(
operationId = "updateSchema",
tags = {"schemas"},
responses = {
@ApiResponse(responseCode = "200", description = "OK", content = @Content(mediaType = "application/json", schema = @Schema(implementation = SchemaDTO.class))),
@ApiResponse(responseCode = "400", description = "Bad Request"),
@ApiResponse(responseCode = "404", description = "Not Found"),
@ApiResponse(responseCode = "500", description = "Server Error")
}
operationId = "updateSchema",
tags = {"schemas"},
responses = {
@ApiResponse(responseCode = "200", description = "OK", content = @Content(mediaType = "application/json", schema = @Schema(implementation = SchemaDTO.class))),
@ApiResponse(responseCode = "400", description = "Bad Request"),
@ApiResponse(responseCode = "404", description = "Not Found"),
@ApiResponse(responseCode = "500", description = "Server Error")
}
)
@RequestMapping(
method = RequestMethod.PUT,
Expand All @@ -102,14 +102,14 @@ default ResponseEntity<SchemaDTO> updateSchema(@Parameter(name = "name", descrip
*/

@Operation(
operationId = "deleteSchema",
tags = {"schemas"},
responses = {
@ApiResponse(responseCode = "200", description = "OK"),
@ApiResponse(responseCode = "400", description = "Bad Request"),
@ApiResponse(responseCode = "404", description = "Not Found"),
@ApiResponse(responseCode = "500", description = "Server Error")
}
operationId = "deleteSchema",
tags = {"schemas"},
responses = {
@ApiResponse(responseCode = "200", description = "OK"),
@ApiResponse(responseCode = "400", description = "Bad Request"),
@ApiResponse(responseCode = "404", description = "Not Found"),
@ApiResponse(responseCode = "500", description = "Server Error")
}
)
@RequestMapping(
method = RequestMethod.DELETE,
Expand Down
Loading

0 comments on commit 560e26b

Please sign in to comment.