文档

接入 SDK

更新时间:

要使用 SDK 访问 API 网关的 OpenAPI,您必须引入以下两个 SDK:

  • 基础 SDK:是 SOFAStack 中通过 SDK 调用任何 API 时都必须依赖的 SDK。

    <!-- 基础 SDK -->
    <dependency>
    <groupId>cn.com.antcloud.api</groupId>
    <artifactId>antcloud-api-sdk</artifactId>
    <version>3.0.1</version>
    </dependency>
  • 应用 SDK:即 API 网关产品的 SDK,是为 API 网关功能封装而成的 SDK。

    <!-- 应用 SDK -->
    <dependency>
    <groupId>cn.com.antcloud.api</groupId>
    <artifactId>antcloud-api-apigateway</artifactId>
    <version>1.0.68</version>
    </dependency>
  • 本页导读 (0)
文档反馈