SwaggerPath constructor

const SwaggerPath({
  1. required String path,
  2. required String tag,
  3. required String method,
  4. List<SwaggerResponse> responses = const [],
  5. SwaggerContent? requestBody,
  6. SwaggerQuery? queryParams,
  7. List<Map<String, dynamic>> headers = const [],
  8. bool includeResponse = false,
  9. String? summary,
  10. String? description,
})

Implementation

const SwaggerPath({
  required this.path,
  required this.tag,
  required this.method,
  this.responses = const [],
  this.requestBody,
  this.queryParams,
  this.headers = const [],
  this.includeResponse = false,
  this.summary,
  this.description,
});