Annotation Interface OpenAPIResponse
Structured annotation to document operation responses in a more structured way as the
Javadoc tag
@response
.- Author:
- chhorz
-
Required Element Summary
-
Element Details
-
status
String statusThe status code of the response. Must be a valid status code of three numbers or a range: 1XX, 2XX, 3XX, 4XX or 5XX which represents all status codes between 100 and 199 (https://spec.openapis.org/oas/v3.1.0#patterned-fields-0) -
schema
Class<?> schemaClass of the given response schema. -
description
String descriptionDescription of the response with the given status code and schema.
-