@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.cjs CHANGED
@@ -1386,6 +1386,11 @@ function createOasParser(oas, { contentType, collisionDetection } = {}) {
1386
1386
  primitive: specialPrimitive,
1387
1387
  type: specialType
1388
1388
  });
1389
+ if (specialType === "url") return (0, _kubb_ast.createSchema)({
1390
+ ...base,
1391
+ primitive: "string",
1392
+ type: "url"
1393
+ });
1389
1394
  return (0, _kubb_ast.createSchema)({
1390
1395
  ...base,
1391
1396
  primitive: specialPrimitive,