Skip to content

Commit 752aae6

Browse files
committed
0.17.0
1 parent e08649e commit 752aae6

File tree

17 files changed

+375
-138
lines changed

17 files changed

+375
-138
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.17.0
2+
3+
- feat: Supper `Class` `Interface` description.
4+
- chore: now `config.data = undefined`
15

26
## 0.16.0
37

example/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"typing": "./service",
66
"license": "MIT",
77
"dependencies": {
8+
"@types/node": "^18.11.9",
89
"axios": "^1.6.0",
910
"swagger-axios-codegen": "*",
10-
"typescript": "^4.8.3"
11+
"typescript": "5.5.4"
1112
},
1213
"scripts": {
1314
"clean": "rm -rf ./swagger/services/**",
@@ -20,4 +21,4 @@
2021
"build:api3": "node ./swagger/codegen.v3.js && npm run build",
2122
"build": "tsc -p ./swagger"
2223
}
23-
}
24+
}

example/swagger3.json

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,73 @@
55
"version": "v1"
66
},
77
"paths": {
8+
"/admin/api/v1/oss/files": {
9+
"post": {
10+
"tags": [
11+
"admin-oss-upload-download-controller"
12+
],
13+
"summary": "上传文件",
14+
"operationId": "uploadUsingPOST",
15+
"requestBody": {
16+
"content": {
17+
"multipart/form-data": {
18+
"schema": {
19+
"required": [
20+
"file"
21+
],
22+
"type": "object",
23+
"properties": {
24+
"attr": {
25+
"description": "attr",
26+
"type": "array",
27+
"$ref": "#/components/schemas/UploadFileAttributeDTO"
28+
},
29+
"file": {
30+
"type": "string",
31+
"description": "file",
32+
"format": "binary"
33+
}
34+
}
35+
}
36+
}
37+
}
38+
},
39+
"responses": {
40+
"200": {
41+
"description": "OK",
42+
"content": {
43+
"*/*": {
44+
"schema": {
45+
"$ref": "#/components/schemas/ApiResult«UserData»"
46+
}
47+
}
48+
}
49+
},
50+
"201": {
51+
"description": "Created"
52+
},
53+
"401": {
54+
"description": "Unauthorized"
55+
},
56+
"403": {
57+
"description": "Forbidden"
58+
},
59+
"404": {
60+
"description": "Not Found"
61+
}
62+
},
63+
"security": [
64+
{
65+
"Authorization": [
66+
"global"
67+
]
68+
}
69+
],
70+
"extensions": {
71+
"x-order": "2147483647"
72+
}
73+
}
74+
},
875
"/api/abp/api-definition": {
976
"get": {
1077
"tags": [
@@ -3662,7 +3729,8 @@
36623729
"nullable": true
36633730
}
36643731
},
3665-
"additionalProperties": false
3732+
"additionalProperties": false,
3733+
"description": "Paginated query form"
36663734
},
36673735
"IdentityUserUpdateRolesDto": {
36683736
"required": [

0 commit comments

Comments
 (0)