OperationOpenApi class

Version: 3.0.3

Annotations
  • @SpecsSerializable()

Constructors

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<String>> security = const {}, List<ServerOpenApi> servers = const []})
const
OperationOpenApi.fromJson(Map map)
factory

Properties

deprecated bool
final
description String?
final
failedResponses Map<int, ResponseOpenApi>
no setter
hasDescription bool
no setter
hashCode int
The hash code for this object.
no setterinherited
hasSummary bool
no setter
operationId String?
final
parameters List<ParameterOpenApi>
final
requestBody RequestBodyOpenApi?
final
responses Map<int, ResponseOpenApi>
Map<String | int, ResponseOpenApi>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
security Map<String, List<String>>
final
servers List<ServerOpenApi>
final
successResponse → (int, ResponseOpenApi)?
no setter
summary String?
final
tags List<String>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited