Skip to content

Commit 6b60040

Browse files
committed
don't export apiClass
1 parent 41c6126 commit 6b60040

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

examples/global2/client/api/config-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { send } from "../base"
66
/**
77
* ConfigApi - API class
88
*/
9-
export class ConfigApi {
9+
class ConfigApi {
1010
/**
1111
*
1212
* @summary 查询配置信息

examples/global2/client/api/heart-beat-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { send } from "../base"
66
/**
77
* HeartBeatApi - API class
88
*/
9-
export class HeartBeatApi {
9+
class HeartBeatApi {
1010
/**
1111
*
1212
* @summary 心跳检查

examples/global2/client/api/route-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type { RouteInfo } from "../models/route-info"
77
/**
88
* RouteApi - API class
99
*/
10-
export class RouteApi {
10+
class RouteApi {
1111
/**
1212
*
1313
* @summary 获取硬件的配置信息

examples/global2/client/api/upgrade-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type { AppversionInfo } from "../models/appversion-info"
77
/**
88
* UpgradeApi - API class
99
*/
10-
export class UpgradeApi {
10+
class UpgradeApi {
1111
/**
1212
*
1313
* @summary 获取最近一次的���级的版本信息

examples/global3/src/client/api/config-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { send } from "../base"
66
/**
77
* ConfigApi - API class
88
*/
9-
export class ConfigApi {
9+
class ConfigApi {
1010
/**
1111
*
1212
* @summary 查询配置信息

examples/global3/src/client/api/heart-beat-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { send } from "../base"
66
/**
77
* HeartBeatApi - API class
88
*/
9-
export class HeartBeatApi {
9+
class HeartBeatApi {
1010
/**
1111
*
1212
* @summary 心跳检查

examples/global3/src/client/api/route-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type { RouteInfo } from "../models/route-info"
77
/**
88
* RouteApi - API class
99
*/
10-
export class RouteApi {
10+
class RouteApi {
1111
/**
1212
*
1313
* @summary 获取硬件的配置信息

examples/global3/src/client/api/upgrade-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type { AppversionInfo } from "../models/appversion-info"
77
/**
88
* UpgradeApi - API class
99
*/
10-
export class UpgradeApi {
10+
class UpgradeApi {
1111
/**
1212
*
1313
* @summary 获取最近一次的���级的版本信息

templates/apiInner.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type { {{classname}} } from "../{{modelPackage}}/{{#lambda.kebabcase}}{{c
1111
/**
1212
* {{classname}} - API class
1313
*/
14-
export class {{classname}} {
14+
class {{classname}} {
1515
{{#operation}}
1616
/**
1717
* {{&notes}}

0 commit comments

Comments
 (0)