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:
Ankit Mahato
2025-08-28 23:34:28 +05:30
parent 6e1f2b4773
commit 7b7daa7dac
11 changed files with 92 additions and 40 deletions

View File

@@ -218,7 +218,8 @@ Map<String, dynamic> requestModelJson = {
'message': null,
'httpResponseModel': responseModelJson,
'preRequestScript': null,
'postRequestScript': null
'postRequestScript': null,
'aiRequestModel': null
};
/// Basic GET request model for apidash.dev