OpenApiDocDescriptor constructor

Initializes a new instance of the OpenApiDocDescriptor.

public OpenApiDocDescriptor(KestrunHost host, string docId)
parameter description
host The Kestrun host.
docId The ID of the OpenAPI document being generated.

Exceptions

exception condition
ArgumentNullException Thrown if host or docId is null.

See Also