Skip to content

Commit 22de07b

Browse files
committed
docs
1 parent 4f82862 commit 22de07b

File tree

3 files changed

+25
-12
lines changed

3 files changed

+25
-12
lines changed

.github/workflows/docker-push.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,20 @@ jobs:
3434
- name: Checkout code
3535
uses: actions/checkout@v4
3636
with:
37-
submodules: "true"
37+
# submodules: "true"
3838
token: ${{ secrets.GIT_PAT }}
3939
fetch-depth: 0
4040

4141
- name: Config Git
4242
run: |
43+
git submodule update --init aiplan-api-ts
4344
git config --global user.name "GitHub Actions"
4445
git config --global user.email "actions@github.com"
45-
git config pull.rebase false
46-
git pull origin main --allow-unrelated-histories
4746
48-
- name: Set up Node 20
47+
- name: Set up Node 22
4948
uses: actions/setup-node@v4
5049
with:
51-
node-version: "20"
50+
node-version: "22"
5251

5352
- name: Prepare
5453
run: |
@@ -60,7 +59,7 @@ jobs:
6059
git checkout main
6160
npx swagger-typescript-api generate --axios --modular --module-name-first-tag -p ../aiplan.go/internal/aiplan/docs/swagger.json -o ./src/ -n aiplan-api.ts
6261
git add .
63-
git commit -m "new generated API version" || echo "No changes to commit"
62+
git commit -m "new generated API version"
6463
yarn version --minor
6564
git push origin main
6665
git push --tags

aiplan.go/internal/aiplan/docs/docs.go

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3008,6 +3008,13 @@ const docTemplate = `{
30083008
"name": "only_pinned",
30093009
"in": "query"
30103010
},
3011+
{
3012+
"type": "boolean",
3013+
"default": false,
3014+
"description": "Ответ ввиде стриминга json сгруппированных таблиц, работает только при группировке",
3015+
"name": "stream",
3016+
"in": "query"
3017+
},
30113018
{
30123019
"description": "Фильтры для поиска задач",
30133020
"name": "filters",
@@ -14741,14 +14748,14 @@ const docTemplate = `{
1474114748
}
1474214749
}
1474314750
},
14744-
"/api/auth/workspaces/{workspaceSlug}/sprints/{sprintId}/issues/add/": {
14751+
"/api/auth/workspaces/{workspaceSlug}/sprints/{sprintId}/issues/": {
1474514752
"post": {
1474614753
"security": [
1474714754
{
1474814755
"ApiKeyAuth": []
1474914756
}
1475014757
],
14751-
"description": "Добавляет задачи к спринту.",
14758+
"description": "Изменяет список задач в спринте.",
1475214759
"consumes": [
1475314760
"application/json"
1475414761
],
@@ -14758,7 +14765,7 @@ const docTemplate = `{
1475814765
"tags": [
1475914766
"Sprint"
1476014767
],
14761-
"summary": "Спринты: Добавить задачи к спринту",
14768+
"summary": "Спринты: Изменяет задачи в спринте",
1476214769
"operationId": "sprintIssuesUpdate",
1476314770
"parameters": [
1476414771
{

aiplan.go/internal/aiplan/docs/swagger.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3000,6 +3000,13 @@
30003000
"name": "only_pinned",
30013001
"in": "query"
30023002
},
3003+
{
3004+
"type": "boolean",
3005+
"default": false,
3006+
"description": "Ответ ввиде стриминга json сгруппированных таблиц, работает только при группировке",
3007+
"name": "stream",
3008+
"in": "query"
3009+
},
30033010
{
30043011
"description": "Фильтры для поиска задач",
30053012
"name": "filters",
@@ -14733,14 +14740,14 @@
1473314740
}
1473414741
}
1473514742
},
14736-
"/api/auth/workspaces/{workspaceSlug}/sprints/{sprintId}/issues/add/": {
14743+
"/api/auth/workspaces/{workspaceSlug}/sprints/{sprintId}/issues/": {
1473714744
"post": {
1473814745
"security": [
1473914746
{
1474014747
"ApiKeyAuth": []
1474114748
}
1474214749
],
14743-
"description": "Добавляет задачи к спринту.",
14750+
"description": "Изменяет список задач в спринте.",
1474414751
"consumes": [
1474514752
"application/json"
1474614753
],
@@ -14750,7 +14757,7 @@
1475014757
"tags": [
1475114758
"Sprint"
1475214759
],
14753-
"summary": "Спринты: Добавить задачи к спринту",
14760+
"summary": "Спринты: Изменяет задачи в спринте",
1475414761
"operationId": "sprintIssuesUpdate",
1475514762
"parameters": [
1475614763
{

0 commit comments

Comments
 (0)