SwaggerPath constructor
const
SwaggerPath({
- required String path,
- required String tag,
- required String method,
- List<
SwaggerResponse> responses = const [], - SwaggerContent? requestBody,
- SwaggerQuery? queryParams,
- List<
Map< headers = const [],String, dynamic> > - bool includeResponse = false,
- String? summary,
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,
});