mirror of
https://github.com/foss42/apidash.git
synced 2025-06-01 23:45:19 +08:00
added templates for package import, url and boundary
This commit is contained in:
@ -7,10 +7,18 @@ import 'package:apidash/utils/utils.dart'
|
||||
import 'package:apidash/models/models.dart' show RequestModel;
|
||||
|
||||
class JuliaHttpClientCodeGen {
|
||||
final String kTemplateStart = """using HTTP,JSON
|
||||
final String kTemplateStart = """
|
||||
using HTTP{% if hasJson %}, JSON{% endif %}
|
||||
\n
|
||||
""";
|
||||
|
||||
final String kTemplateUrl = """
|
||||
url = "{{url}}"
|
||||
|
||||
\n
|
||||
""";
|
||||
final String kTemplateBoundary = """
|
||||
boundary = "{{boundary}}"
|
||||
\n
|
||||
""";
|
||||
|
||||
String kTemplateParams = """
|
||||
|
Reference in New Issue
Block a user