Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Schema $refs are not pointing correctly #37

@bpred754

Description

@bpred754

Hi there,

Thank you for taking the time to put this library together! I just came across an issue when opening the swagger UI - I see errors like so:

Could not resolve reference: #/properties/data/properties/id

From looking through the source, it looks like the zod-to-json-schema refStrategy (root is the default) is not mapping correctly. Maybe because the entire object is not being passed into the function?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions