The types namespace is: Microsoft.OpenApi.Models.
First I got my service exposing an OpenApiDocument at the end point with the following code: