1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-08-10 22:41:43 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2025-02-05 22:38:09 +03:00
parent 90c945f257
commit b209fe5a43
5 changed files with 6727 additions and 6727 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -2518,7 +2518,7 @@ Procedure WriteSwaggerPage(Val Library, Val Method, Val Options)
NeedJSONVariant = SimplestMethod = "GET" Or SimplestMethod = "POST";
DescriptionStructure.Insert("post", MakeDescriptionPost(OptionsTable, NeedJSONVariant));
ResponsesStructure = CreateResponseScheme();
ResponseMap = CreateResponseScheme();
AugmentedDescription = New Structure;
@@ -2527,7 +2527,7 @@ Procedure WriteSwaggerPage(Val Library, Val Method, Val Options)
Key = Description.Key;
Value = Description.Value;
Value.Insert("responses", ResponsesStructure);
Value.Insert("responses", ResponseMap);
AugmentedDescription.Insert(Key, Value);
EndDo;
@@ -2670,7 +2670,7 @@ Function MakeBodyVariants(Val OptionsTable, Val NeedJSONVariant)
PropertyStructure.Insert("description", Description);
PropertiesStructure.Insert(Key, PropertyStructure);
PropertiesStructure.Insert(Key, OPI_Tools.CopyCollection(PropertyStructure));
If StrFind(Description, "(optional, def. val.") = 0 Then
MandatoryArray.Add(Key);
@@ -2696,7 +2696,7 @@ EndFunction
Function CreateResponseScheme()
ResponsesScheme = New Structure;
ResponsesScheme = New Map;
ResponsesScheme.Insert("200", CreateResponseScheme200());

View File

@@ -2518,7 +2518,7 @@ Procedure WriteSwaggerPage(Val Library, Val Method, Val Options)
NeedJSONVariant = SimplestMethod = "GET" Or SimplestMethod = "POST";
DescriptionStructure.Insert("post", MakeDescriptionPost(OptionsTable, NeedJSONVariant));
ResponsesStructure = CreateResponseScheme();
ResponseMap = CreateResponseScheme();
AugmentedDescription = New Structure;
@@ -2527,7 +2527,7 @@ Procedure WriteSwaggerPage(Val Library, Val Method, Val Options)
Key = Description.Key;
Value = Description.Value;
Value.Insert("responses", ResponsesStructure);
Value.Insert("responses", ResponseMap);
AugmentedDescription.Insert(Key, Value);
EndDo;
@@ -2670,7 +2670,7 @@ Function MakeBodyVariants(Val OptionsTable, Val NeedJSONVariant)
PropertyStructure.Insert("description", Description);
PropertiesStructure.Insert(Key, PropertyStructure);
PropertiesStructure.Insert(Key, OPI_Tools.CopyCollection(PropertyStructure));
If StrFind(Description, "(optional, def. val.") = 0 Then
MandatoryArray.Add(Key);
@@ -2696,7 +2696,7 @@ EndFunction
Function CreateResponseScheme()
ResponsesScheme = New Structure;
ResponsesScheme = New Map;
ResponsesScheme.Insert("200", CreateResponseScheme200());

View File

@@ -254,9 +254,9 @@
Иначе
ТекстВыполнения = СтруктураВыполнения["Результат"];
Выполнить(ТекстВыполнения);
Ответ = Новый Структура("result,data", Истина, Ответ);

View File

@@ -2196,9 +2196,9 @@
Функция ПолучитьОбщийМодуль(Знач Имя)
Модуль = Вычислить(Имя);
Возврат Модуль;