ApiEndpoint constructor

const ApiEndpoint({
  1. required String method,
  2. required String path,
  3. required String summary,
  4. String? description,
  5. List<String> tags = const [],
  6. List<ApiParameter> parameters = const [],
  7. String? requestBodySchema,
  8. bool deprecated = false,
})

Implementation

const ApiEndpoint({
  required this.method,
  required this.path,
  required this.summary,
  this.description,
  this.tags = const [],
  this.parameters = const [],
  this.requestBodySchema,
  this.deprecated = false,
});