Skip to content

OpenAPI 3.1.0: incorrect resolution using https://smartbear.com as baseURI #8525

Closed
@char0n

Description

@char0n

Thanks for the excellent work on implementing Open Api 3.1 support.
I tried to switch my schemas to 3.1 - and I see a problem with resolving $ref: paths in $ref are being resolved using smartbear.com as the host.
It's rather weird because I don't see smartbear.com in the swagger-ui code - I can't figure out where it then gets such a value as a host?
I tried to override this behavior by all means (including setting servers at the root of swagger.yaml, as well as by packing all $ref into components/schemas) - it didn't help.
Please fix determination of host when resolving $ref.

Originally reported in #5891 (comment) by @PatchRanger

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions