@tim-smart/openapi-gen 0.3.25 → 0.3.26
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/main.js +3 -1
- package/package.json +1 -1
package/main.js
CHANGED
|
@@ -35448,7 +35448,9 @@ var make65 = gen2(function* () {
|
|
|
35448
35448
|
);
|
|
35449
35449
|
const statusLower = status2.toLowerCase();
|
|
35450
35450
|
const statusMajorNumber = Number(status2[0]);
|
|
35451
|
-
if (statusMajorNumber
|
|
35451
|
+
if (isNaN(statusMajorNumber)) {
|
|
35452
|
+
return;
|
|
35453
|
+
} else if (statusMajorNumber < 4) {
|
|
35452
35454
|
op.successSchemas.set(statusLower, schemaName);
|
|
35453
35455
|
} else {
|
|
35454
35456
|
op.errorSchemas.set(statusLower, schemaName);
|