NSwag.AspNetCore/OpenApiDocumentMiddlewareSettings.cs

NSwag · src/NSwag.AspNetCore/OpenApiDocumentMiddlewareSettings.cs · csharp · MIT
integration

Defines configuration options for OpenAPI document middleware to control document paths, caching, and request-based post-processing.

// Source: https://github.com/RicoSuter/NSwag | License: MIT | Copyright 2021 Rico Suter
// Provided via justclaw.it.com; keep this notice with the code.
//-----------------------------------------------------------------------
// <copyright file="SwaggerMiddleware.cs" company="NSwag">
//     Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md</license>
// <author>Rico Suter, mail@rsuter.com</author>
//-----------------------------------------------------------------------

using Microsoft.AspNetCore.Http;

namespace NSwag.AspNetCore
{
    /// <summary>The Swagger middleware settings.</summary>
    public class OpenApiDocumentMiddlewareSettings
    {
        /// <summary>Gets the document name (internal ident

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key