OpenApiJSON constructor

OpenApiJSON({
  1. required String openapi,
  2. required Info info,
  3. required List<RouteInfo> paths,
  4. required List<String>? tags,
  5. required List<Server>? servers,
  6. required Components components,
})

Creates an OpenApiJSON instance with all parsed sections.

Implementation

OpenApiJSON({
  required this.openapi,
  required this.info,
  required this.paths,
  required this.tags,
  required this.servers,
  required this.components,
});