Open avrahamGross opened 5 months ago
Hey @avrahamGross, were you able to solve the issue? I am also facing the same issue. Could you please help me with the solution. Thanks.
@ritikmodi I can't say I solved it but I did bypass it. I wrapped the updateJsonSpec action with a custom resolver function and passed that resolved object to the swagger ui component. Hope this helps!
Content & configuration
Describe the bug you're encountering
I have refs retrieved through an API endpoint. They are properly returned and resolved inside the editor. However, swagger-ui has a problem resolving them. When expanding an operation an error displays:
Screenshots
Expected behavior
Additional context or thoughts
Interestingly, when added the reference files to the public folder and referencing them through there, there is no error. However it is undesirable to require a new build every time a ref is modified or added to the referenced file.