mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 02:39:19 +08:00
Add AI request model support and improve type handling
Refactored collection state management to handle API type changes and AI request models. Updated widgets and tests to support nullable HTTP methods and AI request models, and improved response body rendering for AI responses.
This commit is contained in:
@@ -11,7 +11,7 @@ class SidebarRequestCard extends StatelessWidget {
|
||||
super.key,
|
||||
required this.id,
|
||||
required this.apiType,
|
||||
required this.method,
|
||||
this.method,
|
||||
this.name,
|
||||
this.url,
|
||||
this.selectedId,
|
||||
@@ -30,7 +30,7 @@ class SidebarRequestCard extends StatelessWidget {
|
||||
final APIType apiType;
|
||||
final String? name;
|
||||
final String? url;
|
||||
final HTTPVerb method;
|
||||
final HTTPVerb? method;
|
||||
final String? selectedId;
|
||||
final String? editRequestId;
|
||||
final void Function()? onTap;
|
||||
|
||||
Reference in New Issue
Block a user