Closed
Description
Since we are 2.x we could change this to an int if we desired.
public @interface OpenAPIResponse {
/** the http status code of this response */
String responseCode();
/**
* The description of the return value. By default uses the @return javadoc of the method as the
* description
*/
String description() default "";
/**
* The concrete type that that this endpoint returns. If status code is a 2xx code it will default
* to the return type of the method
*/
Class<?> type() default Void.class;
}