echoapi-converter 0.0.88 → 0.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +63 -1
- package/dist/index.js +4547 -2207
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -90,11 +90,17 @@ declare class ApifoxToApipost {
|
|
|
90
90
|
project: any;
|
|
91
91
|
apis: any[];
|
|
92
92
|
models: any[];
|
|
93
|
+
test_cases: any[];
|
|
93
94
|
global: any;
|
|
94
95
|
samples: any[];
|
|
95
96
|
serversMap: any;
|
|
96
97
|
modelMap: any;
|
|
97
98
|
foldersMap: any;
|
|
99
|
+
apisMap: any;
|
|
100
|
+
dbLinkmap: any;
|
|
101
|
+
commonScripts: any;
|
|
102
|
+
modelIdMap: any;
|
|
103
|
+
envsMap: any;
|
|
98
104
|
constructor();
|
|
99
105
|
private validate;
|
|
100
106
|
private clear;
|
|
@@ -105,6 +111,7 @@ declare class ApifoxToApipost {
|
|
|
105
111
|
private completionEnv;
|
|
106
112
|
private completionServers;
|
|
107
113
|
private completionCustomRules;
|
|
114
|
+
private completionDataBase;
|
|
108
115
|
private initGlobal;
|
|
109
116
|
private recursionSchema;
|
|
110
117
|
private completionModels;
|
|
@@ -121,6 +128,8 @@ declare class ApifoxToApipost {
|
|
|
121
128
|
private completionApiTarget;
|
|
122
129
|
private completionApiSample;
|
|
123
130
|
private completionApis;
|
|
131
|
+
private completionEventList;
|
|
132
|
+
private completionTestCases;
|
|
124
133
|
private initApis;
|
|
125
134
|
private completionDocs;
|
|
126
135
|
private initDoc;
|
|
@@ -129,6 +138,59 @@ declare class ApifoxToApipost {
|
|
|
129
138
|
private completionTcpMethod;
|
|
130
139
|
private completionTcp;
|
|
131
140
|
private initTcp;
|
|
141
|
+
private initTestCase;
|
|
142
|
+
convert(json: any, project_id: string): {
|
|
143
|
+
status: "error" | "success";
|
|
144
|
+
message: string;
|
|
145
|
+
data: any;
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
declare class ApifoxcliToApipost {
|
|
150
|
+
version: string;
|
|
151
|
+
project: any;
|
|
152
|
+
apis: any[];
|
|
153
|
+
eventList: any[];
|
|
154
|
+
models: any[];
|
|
155
|
+
global: any;
|
|
156
|
+
samples: any[];
|
|
157
|
+
serversMap: any;
|
|
158
|
+
modelMap: any;
|
|
159
|
+
apisMap: any;
|
|
160
|
+
foldersMap: any;
|
|
161
|
+
commonScripts: any;
|
|
162
|
+
modelIdMap: any;
|
|
163
|
+
constructor();
|
|
164
|
+
private validate;
|
|
165
|
+
private clear;
|
|
166
|
+
private initProject;
|
|
167
|
+
private completionParameter;
|
|
168
|
+
private completionVarList;
|
|
169
|
+
private completionServerList;
|
|
170
|
+
private completionEnv;
|
|
171
|
+
private completionServers;
|
|
172
|
+
private initGlobal;
|
|
173
|
+
private recursionSchema;
|
|
174
|
+
private completionModels;
|
|
175
|
+
private initModels;
|
|
176
|
+
private completionApiRequestTasks;
|
|
177
|
+
private completionApiRequestAuth;
|
|
178
|
+
private completionApiRequestParameter;
|
|
179
|
+
private completionApiRequestBody;
|
|
180
|
+
private completionApiRequest;
|
|
181
|
+
private completionApiFolder;
|
|
182
|
+
private completionApiTargetMark;
|
|
183
|
+
private completionApiResponse;
|
|
184
|
+
private completionGraphqlRequestBody;
|
|
185
|
+
private completionApiTarget;
|
|
186
|
+
private completionApiSample;
|
|
187
|
+
private completionApis;
|
|
188
|
+
private initEventList;
|
|
189
|
+
private completionDocs;
|
|
190
|
+
private completionTcpClient;
|
|
191
|
+
private completionTcpMethodRequest;
|
|
192
|
+
private completionTcpMethod;
|
|
193
|
+
private completionTcp;
|
|
132
194
|
convert(json: any, project_id: string): {
|
|
133
195
|
status: "error" | "success";
|
|
134
196
|
message: string;
|
|
@@ -297,4 +359,4 @@ declare const swaggerConverFormat: (json: any, baseConfig: ImportConfig, project
|
|
|
297
359
|
global: {};
|
|
298
360
|
};
|
|
299
361
|
|
|
300
|
-
export { ApipostToSwagger as ApiToSwagger, ApidocToApipost, ApifoxToApipost, ApipostToPostman, HarToApipost, InsomniaToApipost, PostmanToApipost, swaggerConverFormat as SwaggerConverFormat, SwaggerToApipost, ThunderToApipost, YapiToApipost };
|
|
362
|
+
export { ApipostToSwagger as ApiToSwagger, ApidocToApipost, ApifoxcliToApipost as ApifoxCliToApipost, ApifoxToApipost, ApipostToPostman, HarToApipost, InsomniaToApipost, PostmanToApipost, swaggerConverFormat as SwaggerConverFormat, SwaggerToApipost, ThunderToApipost, YapiToApipost };
|