@kubb/adapter-oas 5.0.0-alpha.4 → 5.0.0-alpha.6

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.js CHANGED
@@ -1358,6 +1358,11 @@ function createOasParser(oas, { contentType, collisionDetection } = {}) {
1358
1358
  primitive: specialPrimitive,
1359
1359
  type: specialType
1360
1360
  });
1361
+ if (specialType === "url") return createSchema({
1362
+ ...base,
1363
+ primitive: "string",
1364
+ type: "url"
1365
+ });
1361
1366
  return createSchema({
1362
1367
  ...base,
1363
1368
  primitive: specialPrimitive,