@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/CHANGELOG.md +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/converters/oas-schema.ts +1 -1
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());
|