This is a regression bug as a result of this PR: https://github.com/microsoft/OpenAPI.NET/pull/1278