KestrunHost.GetOrCreateOpenApiDocument method (1 of 2)

Gets the OpenAPI document descriptor for the specified document ID.

public OpenApiDocDescriptor GetOrCreateOpenApiDocument(string apiDocId)
parameter description
apiDocId The ID of the OpenAPI document.

Return Value

The OpenAPI document descriptor.

See Also


KestrunHost.GetOrCreateOpenApiDocument method (2 of 2)

Gets the list of OpenAPI document descriptors for the specified document IDs.

public List<OpenApiDocDescriptor> GetOrCreateOpenApiDocument(string[] openApiDocIds)
parameter description
openApiDocIds The array of OpenAPI document IDs.

Return Value

A list of OpenApiDocDescriptor objects corresponding to the provided document IDs.

See Also