diff --git a/docs/openapi.yaml b/docs/openapi.yaml index f98d66d..9cf9ea7 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -190,6 +190,40 @@ paths: application/json: schema: $ref: '#/components/schemas/wikiTag' + patch: + tags: + - wiki + summary: wikiのタグを更新 + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/wikiTagPatch' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/wikiTag' + delete: + tags: + - wiki + summary: wikiのタグを削除 + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/wikiTag' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/wikiTag' /sodan: get: tags: @@ -546,6 +580,9 @@ components: items: type: string example: ComputerScience + favorites: + type: integer + example: 3 folderList: type: array items: @@ -635,6 +672,9 @@ components: type: array items: $ref: '#/components/schemas/message' + favorites: + type: integer + example: 3 message: type: object properties: @@ -706,6 +746,9 @@ components: updatedAt: type: string example: 2021-01-01 00:00:00 + favorites: + type: integer + example: 3 memoList: type: array items: @@ -737,4 +780,16 @@ components: example: 123 tag: type: string - example: ComputerScience \ No newline at end of file + example: ComputerScience + wikiTagPatch: + type: object + properties: + wikiId: + type: string + example: 123 + tag: + type: string + example: ComputerScience + newTag: + type: string + example: Python \ No newline at end of file diff --git a/index.html b/index.html index 8388c4b..d5589a9 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,9 @@ + + + Vite + Vue diff --git a/src/App.vue b/src/App.vue index a415237..73ceab2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -24,7 +24,7 @@ onMounted(async() =>{