OperationOpenApi constructor
const
OperationOpenApi({
- List<
String> tags = const [], - String? summary,
- String? description,
- required String? operationId,
- List<
ParameterOpenApi> parameters = const [], - RequestBodyOpenApi? requestBody,
- required Map<
int, ResponseOpenApi> responses, - bool deprecated = false,
- Map<
String, List< security = const {},String> > - List<
ServerOpenApi> servers = const [],
Implementation
const OperationOpenApi({
this.tags = const [],
this.summary,
this.description,
required this.operationId,
this.parameters = const [],
this.requestBody,
required this.responses,
this.deprecated = false,
this.security = const {},
this.servers = const [],
});