@xyd-js/openapi 0.0.0-build-c348243-20251013000932 → 0.0.0-build-87e0566-20251013171826

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/CHANGELOG.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # @xyd-js/openapi
2
2
 
3
- ## 0.0.0-build-c348243-20251013000932
3
+ ## 0.0.0-build-87e0566-20251013171826
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - update all packages
8
8
  - Updated dependencies
9
- - @xyd-js/openapi-sampler@0.0.0-build-c348243-20251013000932
10
- - @xyd-js/uniform@0.0.0-build-c348243-20251013000932
9
+ - @xyd-js/openapi-sampler@0.0.0-build-87e0566-20251013171826
10
+ - @xyd-js/uniform@0.0.0-build-87e0566-20251013171826
package/dist/index.cjs CHANGED
@@ -1697,7 +1697,7 @@ function oapSchemaToReferences(schema, options) {
1697
1697
  if (reference) {
1698
1698
  const ctx = reference.context;
1699
1699
  ctx.path = endpointPath;
1700
- if (!ctx.fullPath) {
1700
+ if (!ctx.fullPath && server) {
1701
1701
  const u = new URL(server);
1702
1702
  u.pathname = import_node_path3.default.join(u.pathname, endpointPath);
1703
1703
  ctx.fullPath = decodeURIComponent(u.toString());