@Target(value=METHOD) @Retention(value=RUNTIME) @Inherited public @interface ApiResponse
Modifier and Type | Optional Element and Description |
---|---|
Content[] |
content
An array containing descriptions of potential response payloads, for different media types.
|
String |
description
A short description of the response.
|
Header[] |
headers
An array of response headers.
|
Link[] |
links
An array of operation links that can be followed from the response.
|
String |
responseCode
The HTTP response code, or 'default', for the supplied response.
|
public abstract String description
public abstract String responseCode
public abstract Header[] headers
public abstract Link[] links
public abstract Content[] content
Copyright © 2017. All Rights Reserved.