import 'package:dynamite/src/models/schema.dart'; import 'package:dynamite/src/models/security_scheme.dart'; import 'package:json_annotation/json_annotation.dart'; part 'components.g.dart'; @JsonSerializable() class Components { Components({ required this.securitySchemes, required this.schemas, }); factory Components.fromJson(final Map json) => _$ComponentsFromJson(json); Map toJson() => _$ComponentsToJson(this); final Map? securitySchemes; final Map? schemas; }