OpenApiDocDescriptor.AddOpenApiExtension method

Creates an OpenAPI extension in the document from the provided extensions dictionary.

public void AddOpenApiExtension(IDictionary? extensions)
parameter description
extensions A dictionary containing the extensions.

Exceptions

exception condition
ArgumentException Thrown when the specified extension name is not found in the provided extensions dictionary.

See Also