mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 18:57:05 +08:00
Revert security notice from axios.dart code generator
Co-authored-by: animator <615622+animator@users.noreply.github.com>
This commit is contained in:
@@ -58,11 +58,6 @@ axios(config)
|
|||||||
: requestModel.hasFileInFormData
|
: requestModel.hasFileInFormData
|
||||||
? "// refer https://github.com/foss42/apidash/issues/293#issuecomment-1997568083 for details regarding integration\n\n"
|
? "// refer https://github.com/foss42/apidash/issues/293#issuecomment-1997568083 for details regarding integration\n\n"
|
||||||
: "";
|
: "";
|
||||||
|
|
||||||
// Add security notice
|
|
||||||
result += "// SECURITY NOTICE: Please validate all inputs and URLs before use in production\n";
|
|
||||||
result += "// This code is generated for testing purposes\n\n";
|
|
||||||
|
|
||||||
var harJson = requestModelToHARJsonRequest(
|
var harJson = requestModelToHARJsonRequest(
|
||||||
requestModel,
|
requestModel,
|
||||||
useEnabled: true,
|
useEnabled: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user