You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "Kevin Su (Jira)" <ji...@apache.org> on 2020/05/21 06:18:00 UTC

[jira] [Created] (SUBMARINE-505) Change job API response class in swagger annotation

Kevin Su created SUBMARINE-505:
----------------------------------

             Summary: Change job API response class in swagger annotation
                 Key: SUBMARINE-505
                 URL: https://issues.apache.org/jira/browse/SUBMARINE-505
             Project: Apache Submarine
          Issue Type: Bug
          Components: K8s Submitter
            Reporter: Kevin Su
            Assignee: Kevin Su
             Fix For: 0.4.0


{code:java}
@Operation(summary = "Find job by id",
 tags = {"jobs"},
 responses = {
 @ApiResponse(description = "successful operation", content = @Content(
 schema = @Schema(implementation = Job.class))),
 @ApiResponse(responseCode = "404", description = "Job not found")}){code}
The respose class should beĀ JsonResponse.class



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org