// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /* * Copyright (c) 杭州颉创科技有限公司 2025. All rights reserved. * This source file is licensed under the MIT License found in the * LICENSE file in the root directory of this source tree. */ package simcu::simapi.openapi.transformers import soulsoft_extensions_injection.* /** * @brief 提供文档转换器执行时的上下文信息。 */ public class OpenApiDocumentTransformerContext { /** * @brief 当前正在生成的文档名称。 */ public let documentName: String /** * @brief 请求作用域的服务提供器。 */ public let services: IServiceProvider /** * @brief 创建文档转换器上下文实例。 * @param services 请求作用域的服务提供器。 * @param documentName 当前正在生成的文档名称。 */ public init(services: IServiceProvider, documentName: String) { this.services = services this.documentName = documentName } }