wip: env models, provider

This commit is contained in:
DenserMeerkat
2024-06-07 16:58:07 +05:30
parent a49bcec641
commit 6aa959cbee
11 changed files with 804 additions and 12 deletions

View File

@ -259,6 +259,8 @@ enum HTTPVerb { get, head, post, put, patch, delete }
enum FormDataType { text, file }
enum EnvironmentVariableType { variable, secret }
const kSupportedUriSchemes = ["https", "http"];
const kDefaultUriScheme = "https";
const kMethodsWithBody = [
@ -311,6 +313,8 @@ enum CodegenLanguage {
const JsonEncoder kEncoder = JsonEncoder.withIndent(' ');
const LineSplitter kSplitter = LineSplitter();
const String kGlobalEnvironmentId = "global";
const kHeaderContentType = "Content-Type";
const kTypeApplication = 'application';