OperationOpenApi constructor

const OperationOpenApi({
  1. List<String> tags = const [],
  2. String? summary,
  3. String? description,
  4. required String? operationId,
  5. List<ParameterOpenApi> parameters = const [],
  6. RequestBodyOpenApi? requestBody,
  7. required Map<int, ResponseOpenApi> responses,
  8. bool deprecated = false,
  9. Map<String, List<String>> security = const {},
  10. 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 [],
});