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

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

     [ https://issues.apache.org/jira/browse/SUBMARINE-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wanqiang Ji resolved SUBMARINE-505.
-----------------------------------
    Resolution: Fixed

Issue resolved by pull request 294
[https://github.com/apache/submarine/pull/294]

> 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
>            Priority: Trivial
>              Labels: pull-request-available
>             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