RepreZen / KaiZen-OpenAPI-Editor

Eclipse Editor for the Swagger-OpenAPI Description Language
Eclipse Public License 1.0
115 stars 12 forks source link

"Resolver Error" in RepreZen API Studio (eclipse plugin) in Swagger UI v3 View #442

Closed vnalla closed 6 years ago

vnalla commented 6 years ago

The fix for #438 in KaiZen is fixed, and it also fixed in RepreZen API Studio plugin. However Swagger UI v3 View bundled in RepreZen Studio is not able to resolve $ref.

Here is the error message for $ref URL reference:

Errors
Resolver error at components.schemas.Address.$ref
Could not resolve reference because of: Network request failed

Here is the error message for $ref with local reference:

Errors
Resolver error at components.schemas.Address.$ref
Could not resolve reference because of: Tried to resolve a relative URL, without having a basePath. path: 'components/Address.yaml' basePath: 'undefined'

The URL $ref works fine in Swagger-UI deployed in Tomcat server.

image

Thanks, Venkat

tedepstein commented 6 years ago

Hi Venkat,

Thanks for reporting this. The error you see in the Swagger-UI view is actually a separate bug, and that fix will be included in a patch release of API Studio, coming soon.

However, we're tracking API Studio support issues separately in the RepreZen Support & Community Portal and internally in Jira. You can also send email to support@RepreZen.com, and this will automatically open a support ticket.

So I'll close this issue here for now. Please look for an update notification in API Studio within the next week or two.

-Ted