增加了openapi

This commit is contained in:
xrain committed 2026-08-31 23:47:33 +08:00
1 parent 49465848a0
commit e0e57a7eb4
67 files changed
+3909 -73

No files matched your search

@@ -0,0 +1,24 @@
// 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 simcu::simapi.openapi.models.*
/**
* @brief 定义 OpenAPI 架构转换器接口。
*/
public interface IOpenApiSchemaTransformer {
/**
* @brief 转换指定的 OpenAPI 架构。
* @param schema 要转换的 OpenAPI 架构。
* @param context 架构转换器上下文。
*/
func transform(schema: OpenApiSchema, context: OpenApiSchemaTransformerContext): Unit
}