OpenApiDocDescriptor.CreateInfoContact method

Creates an OpenApiContact object with optional extensions.

public OpenApiContact CreateInfoContact(string? name = null, Uri? url = null, string? email = null, 
    IDictionary? extensions = null)
parameter description
name The name of the contact person or organization.
url The URL of the contact person or organization.
email The email address of the contact person or organization.
extensions Optional extensions for the contact information.

Return Value

An OpenApiContact object.

See Also