HttpMessageTestCase<T extends HttpMessageTestCase<T>> constructor

const HttpMessageTestCase<T extends HttpMessageTestCase<T>>({
  1. required String id,
  2. String? documentation,
  3. required ShapeId protocol,
  4. ShapeId? authScheme,
  5. String? body,
  6. String? bodyMediaType,
  7. Map<String, Object?> params = const {},
  8. ShapeId? vendorParamsShape,
  9. Map<String, Object?> vendorParams = const {},
  10. Map<String, String> headers = const {},
  11. List<String> forbidHeaders = const [],
  12. List<String> requireHeaders = const [],
  13. List<String> tags = const [],
  14. AppliesTo? appliesTo,
})

Implementation

const HttpMessageTestCase({
  required this.id,
  this.documentation,
  required this.protocol,
  this.authScheme,
  this.body,
  this.bodyMediaType,
  this.params = const {},
  this.vendorParamsShape,
  this.vendorParams = const {},
  this.headers = const {},
  this.forbidHeaders = const [],
  this.requireHeaders = const [],
  this.tags = const [],
  this.appliesTo,
});