pg-mvc-service 2.0.123 → 2.0.124
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.
|
@@ -348,9 +348,10 @@ class ResponseType extends ReqResType_1.default {
|
|
|
348
348
|
properties:`;
|
|
349
349
|
if (Object.keys(this.properties).length === 0) {
|
|
350
350
|
ymlString += ' {}\n';
|
|
351
|
-
return ymlString;
|
|
352
351
|
}
|
|
353
|
-
|
|
352
|
+
else {
|
|
353
|
+
ymlString += `\n`;
|
|
354
|
+
}
|
|
354
355
|
let tabCount = 9;
|
|
355
356
|
const space = ' '.repeat(tabCount);
|
|
356
357
|
for (const [key, property] of Object.entries(this.properties)) {
|
|
@@ -405,9 +406,6 @@ class ResponseType extends ReqResType_1.default {
|
|
|
405
406
|
`;
|
|
406
407
|
}
|
|
407
408
|
}
|
|
408
|
-
if (ymlString.includes('attendeeList')) {
|
|
409
|
-
console.log(ymlString, errorList);
|
|
410
|
-
}
|
|
411
409
|
return ymlString;
|
|
412
410
|
}
|
|
413
411
|
/**
|
package/package.json
CHANGED
|
@@ -381,12 +381,11 @@ export class ResponseType extends ReqResType {
|
|
|
381
381
|
properties:`;
|
|
382
382
|
|
|
383
383
|
if (Object.keys(this.properties).length === 0) {
|
|
384
|
-
ymlString += ' {}\n'
|
|
385
|
-
|
|
384
|
+
ymlString += ' {}\n';
|
|
385
|
+
} else {
|
|
386
|
+
ymlString += `\n`;
|
|
386
387
|
}
|
|
387
388
|
|
|
388
|
-
ymlString += `\n`;
|
|
389
|
-
|
|
390
389
|
let tabCount = 9;
|
|
391
390
|
const space = ' '.repeat(tabCount);
|
|
392
391
|
for (const [key, property] of Object.entries(this.properties)) {
|
|
@@ -413,7 +412,6 @@ export class ResponseType extends ReqResType {
|
|
|
413
412
|
}
|
|
414
413
|
}
|
|
415
414
|
|
|
416
|
-
|
|
417
415
|
// statusごとにグルーピング
|
|
418
416
|
const grouped: { [status: number]: IError[] } = {};
|
|
419
417
|
for (const error of errorList) {
|
|
@@ -446,9 +444,6 @@ export class ResponseType extends ReqResType {
|
|
|
446
444
|
}
|
|
447
445
|
}
|
|
448
446
|
|
|
449
|
-
if (ymlString.includes('attendeeList')) {
|
|
450
|
-
console.log(ymlString, errorList);
|
|
451
|
-
}
|
|
452
447
|
return ymlString;
|
|
453
448
|
}
|
|
454
449
|
|