Parameter.path constructor

  1. @Assert(_assertParamOrEval, _assertParamOrMsg)
  2. @Assert(_assertParamAndEval, _assertParamAndMsg)
const Parameter.path({
  1. String? name,
  2. String? description,
  3. bool? deprecated,
  4. String? style,
  5. bool? explode,
  6. bool? allowReserved,
  7. String? example,
  8. Schema? schema,
  9. @JsonKey(name: '\$ref') @_ParamRefConverter() String? ref,
})

Path parameter in request

Implementation

@Assert(_assertParamOrEval, _assertParamOrMsg)
@Assert(_assertParamAndEval, _assertParamAndMsg)
const factory Parameter.path({
  String? name,
  String? description,
  bool? deprecated,
  String? style,
  bool? explode,
  bool? allowReserved,
  String? example,
  Schema? schema,
  @JsonKey(name: '\$ref') @_ParamRefConverter() String? ref,
}) = ParameterPath;