@elysiajs/openapi 1.4.6 → 1.4.7
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/cjs/gen/index.js +1 -1
- package/dist/gen/index.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/gen/index.js
CHANGED
|
@@ -8465,7 +8465,7 @@ var fromTypes = (targetFilePath, {
|
|
|
8465
8465
|
);
|
|
8466
8466
|
const routes = {};
|
|
8467
8467
|
for (const route of extractRootObjects(routesString)) {
|
|
8468
|
-
let schema = TypeBox(route);
|
|
8468
|
+
let schema = TypeBox(route.replaceAll(/readonly/g, ""));
|
|
8469
8469
|
if (schema.type !== "object") continue;
|
|
8470
8470
|
const paths = [];
|
|
8471
8471
|
while (true) {
|
package/dist/gen/index.mjs
CHANGED
|
@@ -8454,7 +8454,7 @@ var fromTypes = (targetFilePath, {
|
|
|
8454
8454
|
);
|
|
8455
8455
|
const routes = {};
|
|
8456
8456
|
for (const route of extractRootObjects(routesString)) {
|
|
8457
|
-
let schema = TypeBox(route);
|
|
8457
|
+
let schema = TypeBox(route.replaceAll(/readonly/g, ""));
|
|
8458
8458
|
if (schema.type !== "object") continue;
|
|
8459
8459
|
const paths = [];
|
|
8460
8460
|
while (true) {
|