I'm not sure where this rule came from. An OpenAPI document can exist without either field. https://github.com/microsoft/OpenAPI.NET/blob/ed5c771a2f2f66307d1a30fa2196c9df18afd9f3/src/Microsoft.OpenApi/Reader/ParsingContext.cs#L282