Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

OpenApiStreamReader.ReadAsync() throws an InvalidOperation exception when using ResolveAllReferences

Open
#609 4 comments 0 reactions 1 assignee View on GitHub

@darrelmiller is already working on this.

Since Apr 3, 2023.

Assessment

This issue has not been assessed yet.

Description

status:waiting-for-internal-feedback

Need help resolving remote references.

OpenApiStreamReader.ReadAsync() throws an InvalidOperation exception with the message "This operation is not supported for a relative URI." when using 'ReferenceResolutionSetting.ResolveAllReferences' flag.

what should the BaseUrl be set to ? currently I am not setting it not sure what I need to set it to.
I am using the yaml files defined in https://github.com/jdegre/5GC_APIs.

Dominant language
C#
Stars
1.6k
Forks
286
Avg merge
6h 38m
Merged PRs (30d)
35

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/OpenAPI.NET

All issues in microsoft/OpenAPI.NET

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.