OpenApi constructor

const OpenApi({
  1. required String openapi,
  2. required InfoOpenApi info,
  3. List<ServerOpenApi> servers = const [],
  4. required Map<String, ItemPathOpenApi> paths,
  5. ComponentsOpenApi components = const ComponentsOpenApi(),
  6. List<TagOpenApi> tags = const [],
})

Implementation

const OpenApi({
  required this.openapi,
  required this.info,
  this.servers = const [],
  required this.paths,
  this.components = const ComponentsOpenApi(),
  this.tags = const [],
});