OpenApiResponse constructor
const
OpenApiResponse({})
Creates an OpenAPI response object.
Parameters:
statusCodeThe HTTP status code of the response (required).descriptionA description of the response (optional).propertiesA list of fields that define the response body (optional).
Implementation
const OpenApiResponse({
required this.statusCode,
this.description,
this.properties,
});