@nestia/sdk 11.0.0-dev.20260312 → 11.0.0-dev.20260313
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/assets/bundle/distribute/package.json +1 -1
- package/lib/INestiaConfig.d.ts +2 -2
- package/lib/NestiaSwaggerComposer.d.ts +1 -2
- package/lib/NestiaSwaggerComposer.js +6 -2
- package/lib/NestiaSwaggerComposer.js.map +1 -1
- package/lib/executable/internal/NestiaConfigLoader.js +8 -63
- package/lib/executable/internal/NestiaConfigLoader.js.map +1 -1
- package/lib/executable/sdk.js +12 -12
- package/lib/generates/SwaggerGenerator.js +6 -5
- package/lib/generates/SwaggerGenerator.js.map +1 -1
- package/package.json +8 -8
- package/src/analyses/ConfigAnalyzer.ts +155 -155
- package/src/analyses/ExceptionAnalyzer.ts +154 -154
- package/src/analyses/GenericAnalyzer.ts +49 -49
- package/src/analyses/PathAnalyzer.ts +69 -69
- package/src/analyses/ReflectControllerAnalyzer.ts +105 -105
- package/src/analyses/ReflectMetadataAnalyzer.ts +44 -44
- package/src/analyses/ReflectWebSocketOperationAnalyzer.ts +172 -172
- package/src/analyses/SecurityAnalyzer.ts +25 -25
- package/src/analyses/TypedWebSocketRouteAnalyzer.ts +33 -33
- package/src/decorators/OperationMetadata.ts +15 -15
- package/src/executable/internal/CommandParser.ts +15 -15
- package/src/executable/sdk.ts +75 -75
- package/src/generates/CloneGenerator.ts +66 -66
- package/src/generates/E2eGenerator.ts +32 -32
- package/src/generates/SdkGenerator.ts +160 -160
- package/src/generates/internal/SdkDistributionComposer.ts +103 -103
- package/src/generates/internal/SdkHttpParameterProgrammer.ts +178 -178
- package/src/generates/internal/SdkRouteDirectory.ts +18 -18
- package/src/generates/internal/SdkWebSocketParameterProgrammer.ts +87 -87
- package/src/generates/internal/SwaggerDescriptionComposer.ts +64 -64
- package/src/index.ts +4 -4
- package/src/structures/INestiaProject.ts +13 -13
- package/src/structures/INestiaSdkInput.ts +20 -20
- package/src/structures/IReflectApplication.ts +8 -8
- package/src/structures/IReflectController.ts +15 -15
- package/src/structures/IReflectHttpOperation.ts +26 -26
- package/src/structures/IReflectImport.ts +6 -6
- package/src/structures/IReflectOperationError.ts +26 -26
- package/src/structures/IReflectType.ts +4 -4
- package/src/structures/IReflectWebSocketOperation.ts +17 -17
- package/src/structures/IReflectWebSocketOperationParameter.ts +36 -36
- package/src/structures/ITypedHttpRoute.ts +41 -41
- package/src/structures/ITypedWebSocketRoute.ts +24 -24
- package/src/structures/ITypedWebSocketRouteParameter.ts +3 -3
- package/src/structures/MethodType.ts +5 -5
- package/src/structures/ParamCategory.ts +1 -1
- package/src/structures/TypeEntry.ts +22 -22
- package/src/transform.ts +9 -9
- package/src/typings/get-function-location.d.ts +7 -7
- package/src/utils/ArrayUtil.ts +26 -26
- package/src/utils/FileRetriever.ts +22 -22
- package/src/utils/MapUtil.ts +14 -14
- package/src/utils/PathUtil.ts +10 -10
- package/src/utils/SourceFinder.ts +63 -63
- package/src/utils/StringUtil.ts +17 -17
- package/src/utils/StripEnums.ts +5 -5
- package/src/utils/VersioningStrategy.ts +28 -28
package/lib/INestiaConfig.d.ts
CHANGED
|
@@ -160,7 +160,7 @@ export declare namespace INestiaConfig {
|
|
|
160
160
|
* generated `swagger.json` file would be downgraded from the OpenAPI v3.1
|
|
161
161
|
* specification by {@link OpenApi.downgrade} method.
|
|
162
162
|
*
|
|
163
|
-
* @default 3.
|
|
163
|
+
* @default 3.2
|
|
164
164
|
*/
|
|
165
165
|
openapi?: "2.0" | "3.0" | "3.1" | "3.2";
|
|
166
166
|
/**
|
|
@@ -233,7 +233,7 @@ export declare namespace INestiaConfig {
|
|
|
233
233
|
operationId?(props: {
|
|
234
234
|
class: string;
|
|
235
235
|
function: string;
|
|
236
|
-
method: "HEAD" | "GET" | "POST" | "PUT" | "PATCH" | "DELETE"
|
|
236
|
+
method: "HEAD" | "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
237
237
|
path: string;
|
|
238
238
|
}): string;
|
|
239
239
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { INestApplication } from "@nestjs/common";
|
|
2
|
-
import { OpenApiV3, OpenApiV3_1, SwaggerV2 } from "@typia/interface";
|
|
3
|
-
import { OpenApi } from "typia";
|
|
2
|
+
import { OpenApi, OpenApiV3, OpenApiV3_1, SwaggerV2 } from "@typia/interface";
|
|
4
3
|
import { INestiaConfig } from "./INestiaConfig";
|
|
5
4
|
export declare namespace NestiaSwaggerComposer {
|
|
6
5
|
const document: (app: INestApplication, config: Omit<INestiaConfig.ISwaggerConfig, "output">) => Promise<OpenApi.IDocument | OpenApiV3_1.IDocument | OpenApiV3.IDocument | SwaggerV2.IDocument>;
|
|
@@ -27,16 +27,20 @@ const VersioningStrategy_1 = require("./utils/VersioningStrategy");
|
|
|
27
27
|
var NestiaSwaggerComposer;
|
|
28
28
|
(function (NestiaSwaggerComposer) {
|
|
29
29
|
NestiaSwaggerComposer.document = (app, config) => __awaiter(this, void 0, void 0, function* () {
|
|
30
|
-
var _a;
|
|
31
30
|
const input = yield ConfigAnalyzer_1.ConfigAnalyzer.application(app);
|
|
32
31
|
const document = yield SwaggerGenerator_1.SwaggerGenerator.compose({
|
|
33
32
|
config,
|
|
34
33
|
routes: analyze(input),
|
|
35
34
|
document: yield SwaggerGenerator_1.SwaggerGenerator.initialize(config),
|
|
36
35
|
});
|
|
37
|
-
return
|
|
36
|
+
return config.openapi === undefined || config.openapi === "3.2"
|
|
38
37
|
? document
|
|
39
38
|
: utils_1.OpenApiConverter.downgradeDocument(document, config.openapi);
|
|
39
|
+
// return config.openapi === "2.0"
|
|
40
|
+
// ? OpenApiConverter.downgradeDocument(document, "2.0")
|
|
41
|
+
// : config.openapi === "3.0"
|
|
42
|
+
// ? OpenApiConverter.downgradeDocument(document, "3.0")
|
|
43
|
+
// : document;
|
|
40
44
|
});
|
|
41
45
|
const analyze = (input) => {
|
|
42
46
|
var _a, _b, _c, _d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NestiaSwaggerComposer.js","sourceRoot":"","sources":["../src/NestiaSwaggerComposer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAGA,wCAAgD;AAChD,gDAAwB;AACxB,+BAA+B;
|
|
1
|
+
{"version":3,"file":"NestiaSwaggerComposer.js","sourceRoot":"","sources":["../src/NestiaSwaggerComposer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAGA,wCAAgD;AAChD,gDAAwB;AACxB,+BAA+B;AAG/B,kEAA+D;AAC/D,8DAA2D;AAC3D,0DAAuD;AACvD,oFAAiF;AACjF,8EAA2E;AAC3E,mEAAgE;AAIhE,gFAA6E;AAG7E,mEAAgE;AAEhE,IAAiB,qBAAqB,CA8ErC;AA9ED,WAAiB,qBAAqB;IACvB,8BAAQ,GAAG,CACtB,GAAqB,EACrB,MAAoD,EAMpD,EAAE;QACF,MAAM,KAAK,GAAoB,MAAM,+BAAc,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QACrE,MAAM,QAAQ,GAAsB,MAAM,mCAAgB,CAAC,OAAO,CAAC;YACjE,MAAM;YACN,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC;YACtB,QAAQ,EAAE,MAAM,mCAAgB,CAAC,UAAU,CAAC,MAAM,CAAC;SACpD,CAAC,CAAC;QACH,OAAO,MAAM,CAAC,OAAO,KAAK,SAAS,IAAI,MAAM,CAAC,OAAO,KAAK,KAAK;YAC7D,CAAC,CAAC,QAAQ;YACV,CAAC,CAAC,wBAAgB,CAAC,iBAAiB,CAAC,QAAQ,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;QACjE,kCAAkC;QAClC,0DAA0D;QAC1D,+BAA+B;QAC/B,4DAA4D;QAC5D,kBAAkB;IACpB,CAAC,CAAA,CAAC;IAEF,MAAM,OAAO,GAAG,CAAC,KAAsB,EAAqB,EAAE;;QAC5D,0BAA0B;QAC1B,MAAM,MAAM,GAAiB,IAAI,OAAO,EAAE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CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC"}
|
|
@@ -120,7 +120,7 @@ var NestiaConfigLoader;
|
|
|
120
120
|
? instance
|
|
121
121
|
: [instance];
|
|
122
122
|
try {
|
|
123
|
-
return (() => { const _io0 = input => null !== input.input && undefined !== input.input && ("function" === typeof input.input || "string" === typeof input.input || (Array.isArray(input.input) && input.input.every(elem => "string" === typeof elem) || "object" === typeof input.input && null !== input.input && _io1(input.input))) && (undefined === input.swagger || "object" === typeof input.swagger && null !== input.swagger && _io2(input.swagger)) && (undefined === input.output || "string" === typeof input.output) && (undefined === input.distribute || "string" === typeof input.distribute) && (undefined === input.keyword || "boolean" === typeof input.keyword) && (undefined === input.simulate || "boolean" === typeof input.simulate) && (undefined === input.e2e || "string" === typeof input.e2e) && (undefined === input.propagate || "boolean" === typeof input.propagate) && (undefined === input.clone || "boolean" === typeof input.clone) && (undefined === input.primitive || "boolean" === typeof input.primitive) && (undefined === input.assert || "boolean" === typeof input.assert) && (undefined === input.json || "boolean" === typeof input.json); const _io1 = input => Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io2 = input => "string" === typeof input.output && (undefined === input.openapi || "2.0" === input.openapi || "3.0" === input.openapi || "3.1" === input.openapi || "3.2" === input.openapi) && (undefined === input.beautify || "number" === typeof input.beautify || "boolean" === typeof input.beautify) && (undefined === input.additional || "boolean" === typeof input.additional) && (undefined === input.info || "object" === typeof input.info && null !== input.info && false === Array.isArray(input.info) && _io3(input.info)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io6(elem))) && (undefined === input.security || "object" === typeof input.security && null !== input.security && false === Array.isArray(input.security) && _io9(input.security)) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "object" === typeof elem && null !== elem &&
|
|
123
|
+
return (() => { const _io0 = input => null !== input.input && undefined !== input.input && ("function" === typeof input.input || "string" === typeof input.input || (Array.isArray(input.input) && input.input.every(elem => "string" === typeof elem) || "object" === typeof input.input && null !== input.input && _io1(input.input))) && (undefined === input.swagger || "object" === typeof input.swagger && null !== input.swagger && _io2(input.swagger)) && (undefined === input.output || "string" === typeof input.output) && (undefined === input.distribute || "string" === typeof input.distribute) && (undefined === input.keyword || "boolean" === typeof input.keyword) && (undefined === input.simulate || "boolean" === typeof input.simulate) && (undefined === input.e2e || "string" === typeof input.e2e) && (undefined === input.propagate || "boolean" === typeof input.propagate) && (undefined === input.clone || "boolean" === typeof input.clone) && (undefined === input.primitive || "boolean" === typeof input.primitive) && (undefined === input.assert || "boolean" === typeof input.assert) && (undefined === input.json || "boolean" === typeof input.json); const _io1 = input => Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io2 = input => "string" === typeof input.output && (undefined === input.openapi || "2.0" === input.openapi || "3.0" === input.openapi || "3.1" === input.openapi || "3.2" === input.openapi) && (undefined === input.beautify || "number" === typeof input.beautify || "boolean" === typeof input.beautify) && (undefined === input.additional || "boolean" === typeof input.additional) && (undefined === input.info || "object" === typeof input.info && null !== input.info && false === Array.isArray(input.info) && _io3(input.info)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io6(elem))) && (undefined === input.security || "object" === typeof input.security && null !== input.security && false === Array.isArray(input.security) && _io9(input.security)) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "object" === typeof elem && null !== elem && _io20(elem))) && (undefined === input.decompose || "boolean" === typeof input.decompose); const _io3 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.termsOfService || "string" === typeof input.termsOfService) && (undefined === input.contact || "object" === typeof input.contact && null !== input.contact && false === Array.isArray(input.contact) && _io4(input.contact)) && (undefined === input.license || "object" === typeof input.license && null !== input.license && _io5(input.license)) && (undefined === input.version || "string" === typeof input.version); const _io4 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.email || "string" === typeof input.email && __typia_transform__isFormatEmail._isFormatEmail(input.email)); const _io5 = input => "string" === typeof input.name && (undefined === input.identifier || "string" === typeof input.identifier) && (undefined === input.url || "string" === typeof input.url); const _io6 = input => "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description) && (undefined === input.variables || "object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) && _io7(input.variables)); const _io7 = input => Object.keys(input).every(key => {
|
|
124
124
|
const value = input[key];
|
|
125
125
|
if (undefined === value)
|
|
126
126
|
return true;
|
|
@@ -130,12 +130,12 @@ var NestiaConfigLoader;
|
|
|
130
130
|
if (undefined === value)
|
|
131
131
|
return true;
|
|
132
132
|
return "object" === typeof value && null !== value && _iu0(value);
|
|
133
|
-
}); const _io10 = input => "apiKey" === input.type && (undefined === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io11 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description); const _io12 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description); const _io13 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io14(input.flows)) && (undefined === input.
|
|
133
|
+
}); const _io10 = input => "apiKey" === input.type && (undefined === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io11 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description); const _io12 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description); const _io13 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io14(input.flows)) && (undefined === input.description || "string" === typeof input.description); const _io14 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io15(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io17(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io18(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io18(input.clientCredentials)); const _io15 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io16(input.scopes)); const _io16 = input => Object.keys(input).every(key => {
|
|
134
134
|
const value = input[key];
|
|
135
135
|
if (undefined === value)
|
|
136
136
|
return true;
|
|
137
137
|
return "string" === typeof value;
|
|
138
|
-
}); const _io17 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io16(input.scopes)); const _io18 = input => (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io16(input.scopes)); const _io19 = input => "
|
|
138
|
+
}); const _io17 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io16(input.scopes)); const _io18 = input => (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io16(input.scopes)); const _io19 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description); const _io20 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _iu0 = input => (() => {
|
|
139
139
|
if ("apiKey" === input.type)
|
|
140
140
|
return _io10(input);
|
|
141
141
|
else if ("basic" === input.scheme)
|
|
@@ -145,7 +145,7 @@ var NestiaConfigLoader;
|
|
|
145
145
|
else if ("oauth2" === input.type)
|
|
146
146
|
return _io13(input);
|
|
147
147
|
else if ("openIdConnect" === input.type)
|
|
148
|
-
return
|
|
148
|
+
return _io19(input);
|
|
149
149
|
else
|
|
150
150
|
return false;
|
|
151
151
|
})(); const _ao0 = (input, _path, _exceptionable = true) => (null !== input.input || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -333,7 +333,7 @@ var NestiaConfigLoader;
|
|
|
333
333
|
path: _path + ".tags[" + _index13 + "]",
|
|
334
334
|
expected: "OpenApi.IDocument.ITag",
|
|
335
335
|
value: elem
|
|
336
|
-
}, _errorFactory)) &&
|
|
336
|
+
}, _errorFactory)) && _ao20(elem, _path + ".tags[" + _index13 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
337
337
|
method: "typia.assert",
|
|
338
338
|
path: _path + ".tags[" + _index13 + "]",
|
|
339
339
|
expected: "OpenApi.IDocument.ITag",
|
|
@@ -573,11 +573,6 @@ var NestiaConfigLoader;
|
|
|
573
573
|
path: _path + ".flows",
|
|
574
574
|
expected: "OpenApi.ISecurityScheme.IOAuth2.IFlowSet",
|
|
575
575
|
value: input.flows
|
|
576
|
-
}, _errorFactory)) && (undefined === input.oauth2MetadataUrl || "string" === typeof input.oauth2MetadataUrl || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
577
|
-
method: "typia.assert",
|
|
578
|
-
path: _path + ".oauth2MetadataUrl",
|
|
579
|
-
expected: "(string | undefined)",
|
|
580
|
-
value: input.oauth2MetadataUrl
|
|
581
576
|
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
582
577
|
method: "typia.assert",
|
|
583
578
|
path: _path + ".description",
|
|
@@ -623,16 +618,6 @@ var NestiaConfigLoader;
|
|
|
623
618
|
path: _path + ".clientCredentials",
|
|
624
619
|
expected: "(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
|
|
625
620
|
value: input.clientCredentials
|
|
626
|
-
}, _errorFactory)) && (undefined === input.deviceAuthorization || ("object" === typeof input.deviceAuthorization && null !== input.deviceAuthorization || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
627
|
-
method: "typia.assert",
|
|
628
|
-
path: _path + ".deviceAuthorization",
|
|
629
|
-
expected: "(OpenApi.ISecurityScheme.IOAuth2.IDeviceFlow | undefined)",
|
|
630
|
-
value: input.deviceAuthorization
|
|
631
|
-
}, _errorFactory)) && _ao19(input.deviceAuthorization, _path + ".deviceAuthorization", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
632
|
-
method: "typia.assert",
|
|
633
|
-
path: _path + ".deviceAuthorization",
|
|
634
|
-
expected: "(OpenApi.ISecurityScheme.IOAuth2.IDeviceFlow | undefined)",
|
|
635
|
-
value: input.deviceAuthorization
|
|
636
621
|
}, _errorFactory)); const _ao15 = (input, _path, _exceptionable = true) => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
637
622
|
method: "typia.assert",
|
|
638
623
|
path: _path + ".authorizationUrl",
|
|
@@ -708,32 +693,7 @@ var NestiaConfigLoader;
|
|
|
708
693
|
path: _path + ".scopes",
|
|
709
694
|
expected: "(Record<string, string> | undefined)",
|
|
710
695
|
value: input.scopes
|
|
711
|
-
}, _errorFactory)); const _ao19 = (input, _path, _exceptionable = true) => ("
|
|
712
|
-
method: "typia.assert",
|
|
713
|
-
path: _path + ".deviceAuthorizationUrl",
|
|
714
|
-
expected: "string",
|
|
715
|
-
value: input.deviceAuthorizationUrl
|
|
716
|
-
}, _errorFactory)) && ("string" === typeof input.tokenUrl || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
717
|
-
method: "typia.assert",
|
|
718
|
-
path: _path + ".tokenUrl",
|
|
719
|
-
expected: "string",
|
|
720
|
-
value: input.tokenUrl
|
|
721
|
-
}, _errorFactory)) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
722
|
-
method: "typia.assert",
|
|
723
|
-
path: _path + ".refreshUrl",
|
|
724
|
-
expected: "(string | undefined)",
|
|
725
|
-
value: input.refreshUrl
|
|
726
|
-
}, _errorFactory)) && (undefined === input.scopes || ("object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
727
|
-
method: "typia.assert",
|
|
728
|
-
path: _path + ".scopes",
|
|
729
|
-
expected: "(Record<string, string> | undefined)",
|
|
730
|
-
value: input.scopes
|
|
731
|
-
}, _errorFactory)) && _ao16(input.scopes, _path + ".scopes", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
732
|
-
method: "typia.assert",
|
|
733
|
-
path: _path + ".scopes",
|
|
734
|
-
expected: "(Record<string, string> | undefined)",
|
|
735
|
-
value: input.scopes
|
|
736
|
-
}, _errorFactory)); const _ao20 = (input, _path, _exceptionable = true) => ("openIdConnect" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
696
|
+
}, _errorFactory)); const _ao19 = (input, _path, _exceptionable = true) => ("openIdConnect" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
737
697
|
method: "typia.assert",
|
|
738
698
|
path: _path + ".type",
|
|
739
699
|
expected: "\"openIdConnect\"",
|
|
@@ -748,31 +708,16 @@ var NestiaConfigLoader;
|
|
|
748
708
|
path: _path + ".description",
|
|
749
709
|
expected: "(string | undefined)",
|
|
750
710
|
value: input.description
|
|
751
|
-
}, _errorFactory)); const
|
|
711
|
+
}, _errorFactory)); const _ao20 = (input, _path, _exceptionable = true) => ("string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
752
712
|
method: "typia.assert",
|
|
753
713
|
path: _path + ".name",
|
|
754
714
|
expected: "string",
|
|
755
715
|
value: input.name
|
|
756
|
-
}, _errorFactory)) && (undefined === input.summary || "string" === typeof input.summary || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
757
|
-
method: "typia.assert",
|
|
758
|
-
path: _path + ".summary",
|
|
759
|
-
expected: "(string | undefined)",
|
|
760
|
-
value: input.summary
|
|
761
716
|
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
762
717
|
method: "typia.assert",
|
|
763
718
|
path: _path + ".description",
|
|
764
719
|
expected: "(string | undefined)",
|
|
765
720
|
value: input.description
|
|
766
|
-
}, _errorFactory)) && (undefined === input.parent || "string" === typeof input.parent || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
767
|
-
method: "typia.assert",
|
|
768
|
-
path: _path + ".parent",
|
|
769
|
-
expected: "(string | undefined)",
|
|
770
|
-
value: input.parent
|
|
771
|
-
}, _errorFactory)) && (undefined === input.kind || "string" === typeof input.kind || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
772
|
-
method: "typia.assert",
|
|
773
|
-
path: _path + ".kind",
|
|
774
|
-
expected: "(string | undefined)",
|
|
775
|
-
value: input.kind
|
|
776
721
|
}, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
777
722
|
if ("apiKey" === input.type)
|
|
778
723
|
return _ao10(input, _path, true && _exceptionable);
|
|
@@ -783,7 +728,7 @@ var NestiaConfigLoader;
|
|
|
783
728
|
else if ("oauth2" === input.type)
|
|
784
729
|
return _ao13(input, _path, true && _exceptionable);
|
|
785
730
|
else if ("openIdConnect" === input.type)
|
|
786
|
-
return
|
|
731
|
+
return _ao19(input, _path, true && _exceptionable);
|
|
787
732
|
else
|
|
788
733
|
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
789
734
|
method: "typia.assert",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NestiaConfigLoader.js","sourceRoot":"","sources":["../../../src/executable/internal/NestiaConfigLoader.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA6D;AAC7D,4CAAoB;AACpB,gDAAwB;AACxB,qCAAmC;AACnC,uCAAiC;AACjC,4DAA4B;AAC5B,kDAA0B;AAI1B,IAAiB,kBAAkB,CA0ElC;AA1ED,WAAiB,kBAAkB;IACpB,kCAAe,GAAG,CAC7B,OAAe,EACgB,EAAE;QACjC,MAAM,cAAc,GAAG,oBAAE,CAAC,cAAc,CACtC,OAAO,CAAC,GAAG,EAAE,EACb,oBAAE,CAAC,GAAG,CAAC,UAAU,EACjB,OAAO,CACR,CAAC;QACF,IAAI,CAAC,cAAc;YAAE,MAAM,IAAI,KAAK,CAAC,mBAAmB,OAAO,SAAS,CAAC,CAAC;QAC1E,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,IAAA,gBAAK,EAAC,cAAc,CAAC,CAAC;QACjD,MAAM,cAAc,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAChD,MAAM,EAAE,MAAM,EAAE,GAAG,oBAAE,CAAC,yBAAyB,CAC7C,cAAc,EACd,cAAc,CACf,CAAC;QACF,OAAO,oBA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AC,EA1EgB,kBAAkB,kCAAlB,kBAAkB,QA0ElC"}
|
package/lib/executable/sdk.js
CHANGED
|
@@ -50,18 +50,18 @@ const child_process_1 = __importDefault(require("child_process"));
|
|
|
50
50
|
const fs_1 = __importDefault(require("fs"));
|
|
51
51
|
const process_1 = __importDefault(require("process"));
|
|
52
52
|
const CommandParser_1 = require("./internal/CommandParser");
|
|
53
|
-
const USAGE = `Wrong command has been detected. Use like below:
|
|
54
|
-
|
|
55
|
-
npx @nestia/sdk [command] [options?]
|
|
56
|
-
|
|
57
|
-
1. npx @nestia/sdk dependencies --manager (npm|pnpm|yarn)
|
|
58
|
-
- npx @nestia/sdk dependencies
|
|
59
|
-
- npx @nestia/sdk dependencies --manager pnpm
|
|
60
|
-
2. npx @nestia/sdk init
|
|
61
|
-
3. npx @nestia/sdk sdk --config? [config file] --project? [project file]
|
|
62
|
-
4. npx @nestia/sdk swagger --config? [config file] --project? [project file]
|
|
63
|
-
5. npx @nestia/sdk e2e --config? [config file] --project? [project file]
|
|
64
|
-
6. npx @nestia/sdk generate --config? [config file] --project? [project file]
|
|
53
|
+
const USAGE = `Wrong command has been detected. Use like below:
|
|
54
|
+
|
|
55
|
+
npx @nestia/sdk [command] [options?]
|
|
56
|
+
|
|
57
|
+
1. npx @nestia/sdk dependencies --manager (npm|pnpm|yarn)
|
|
58
|
+
- npx @nestia/sdk dependencies
|
|
59
|
+
- npx @nestia/sdk dependencies --manager pnpm
|
|
60
|
+
2. npx @nestia/sdk init
|
|
61
|
+
3. npx @nestia/sdk sdk --config? [config file] --project? [project file]
|
|
62
|
+
4. npx @nestia/sdk swagger --config? [config file] --project? [project file]
|
|
63
|
+
5. npx @nestia/sdk e2e --config? [config file] --project? [project file]
|
|
64
|
+
6. npx @nestia/sdk generate --config? [config file] --project? [project file]
|
|
65
65
|
`;
|
|
66
66
|
function halt(desc) {
|
|
67
67
|
console.error(desc);
|
|
@@ -59,7 +59,6 @@ const SwaggerOperationComposer_1 = require("./internal/SwaggerOperationComposer"
|
|
|
59
59
|
var SwaggerGenerator;
|
|
60
60
|
(function (SwaggerGenerator) {
|
|
61
61
|
SwaggerGenerator.generate = (app) => __awaiter(this, void 0, void 0, function* () {
|
|
62
|
-
var _a;
|
|
63
62
|
// GET CONFIGURATION
|
|
64
63
|
console.log("Generating Swagger Document");
|
|
65
64
|
if (app.project.config.swagger === undefined)
|
|
@@ -72,7 +71,7 @@ var SwaggerGenerator;
|
|
|
72
71
|
try {
|
|
73
72
|
yield fs_1.default.promises.mkdir(directory);
|
|
74
73
|
}
|
|
75
|
-
catch (
|
|
74
|
+
catch (_a) { }
|
|
76
75
|
if (fs_1.default.existsSync(directory) === false)
|
|
77
76
|
throw new Error(`Error on NestiaApplication.swagger(): failed to create output directory: ${directory}`);
|
|
78
77
|
const location = !!parsed.ext
|
|
@@ -84,9 +83,11 @@ var SwaggerGenerator;
|
|
|
84
83
|
routes: app.routes.filter((route) => route.protocol === "http"),
|
|
85
84
|
document: yield SwaggerGenerator.initialize(config),
|
|
86
85
|
});
|
|
87
|
-
const specified =
|
|
88
|
-
? document
|
|
89
|
-
:
|
|
86
|
+
const specified = config.openapi === "2.0"
|
|
87
|
+
? utils_1.OpenApiConverter.downgradeDocument(document, config.openapi)
|
|
88
|
+
: config.openapi === "3.0"
|
|
89
|
+
? utils_1.OpenApiConverter.downgradeDocument(document, config.openapi)
|
|
90
|
+
: document;
|
|
90
91
|
yield fs_1.default.promises.writeFile(location, !config.beautify
|
|
91
92
|
? JSON.stringify(specified)
|
|
92
93
|
: JSON.stringify(specified, null, typeof config.beautify === "number" ? config.beautify : 2), "utf8");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwaggerGenerator.js","sourceRoot":"","sources":["../../src/generates/SwaggerGenerator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,sCAAoE;
|
|
1
|
+
{"version":3,"file":"SwaggerGenerator.js","sourceRoot":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CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC;yBACvB,CAAC,CAAC;gBAC1C,CAAC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,eAAe;QACf,KAAK,MAAM,EAAE,IAAI,WAAW;YAAE,EAAE,EAAE,CAAC;IACrC,CAAC,CAAC;IAEF,MAAM,OAAO,GAAG,CAAC,KAAsB,EAAU,EAAE;QACjD,IAAI,GAAG,GAAW,KAAK,CAAC,IAAI,CAAC;QAC7B,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,cAAc;YACtC,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,KAAK,CAAC,KAAK,EAAE,EAAE,IAAI,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC;QAC3D,OAAO,GAAG,CAAC;IACb,CAAC,CAAC;AACJ,CAAC,EAlQgB,gBAAgB,gCAAhB,gBAAgB,QAkQhC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestia/sdk",
|
|
3
|
-
"version": "11.0.0-dev.
|
|
3
|
+
"version": "11.0.0-dev.20260313",
|
|
4
4
|
"description": "Nestia SDK and Swagger generator",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
},
|
|
46
46
|
"homepage": "https://nestia.io",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@typia/core": "12.0.0-dev.
|
|
49
|
-
"@typia/interface": "12.0.0-dev.
|
|
50
|
-
"@typia/utils": "12.0.0-dev.
|
|
48
|
+
"@typia/core": "12.0.0-dev.20260313",
|
|
49
|
+
"@typia/interface": "12.0.0-dev.20260313",
|
|
50
|
+
"@typia/utils": "12.0.0-dev.20260313",
|
|
51
51
|
"cli": "^1.0.1",
|
|
52
52
|
"get-function-location": "^2.0.0",
|
|
53
53
|
"glob": "^11.0.3",
|
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
"tsconfck": "^2.1.2",
|
|
58
58
|
"tsconfig-paths": "^4.1.1",
|
|
59
59
|
"tstl": "^3.0.0",
|
|
60
|
-
"typia": "12.0.0-dev.
|
|
61
|
-
"@nestia/core": "^11.0.0-dev.
|
|
62
|
-
"@nestia/fetcher": "^11.0.0-dev.
|
|
60
|
+
"typia": "12.0.0-dev.20260313",
|
|
61
|
+
"@nestia/core": "^11.0.0-dev.20260313",
|
|
62
|
+
"@nestia/fetcher": "^11.0.0-dev.20260313"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@nestia/core": "^11.0.0-dev.
|
|
65
|
+
"@nestia/core": "^11.0.0-dev.20260313"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@nestjs/common": "^11.1.4",
|