@xyd-js/openapi 0.0.0-build-c348243-20251013000932 → 0.0.0-build-56377ca-20251013180714

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
@@ -1663,7 +1663,7 @@ function oapSchemaToReferences(schema, options) {
1663
1663
  if (reference) {
1664
1664
  const ctx = reference.context;
1665
1665
  ctx.path = endpointPath;
1666
- if (!ctx.fullPath) {
1666
+ if (!ctx.fullPath && server) {
1667
1667
  const u = new URL(server);
1668
1668
  u.pathname = path3.join(u.pathname, endpointPath);
1669
1669
  ctx.fullPath = decodeURIComponent(u.toString());