Skip to content

Commit bd2e488

Browse files
committed
Fix: image url 불필요 method 제거
1 parent 2df6e0d commit bd2e488

1 file changed

Lines changed: 4 additions & 32 deletions

File tree

prod/openapi.yml

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2210,16 +2210,16 @@ paths:
22102210
'500':
22112211
$ref: './components.yml#/responses/ServerError'
22122212
/admin/image-url:
2213-
get:
2213+
post:
22142214
x-amazon-apigateway-integration:
22152215
$ref: "#/components/x-amazon-apigateway-integrations/lambda-integration"
2216-
summary: 토픽 목록 조회 (관리자 전용)
2217-
description: 관리자가 모든 토픽의 목록을 조회합니다.
2216+
summary: 이미지 url 생성 (관리자 전용)
2217+
description: 관리자가 이미지 url을 생성합니다.
22182218
tags:
22192219
- 관리자
22202220
parameters:
22212221
- name: keywords
2222-
in: query
2222+
in: body
22232223
description: 이미지 만들때 쓰일 키워드
22242224
schema:
22252225
type: array
@@ -2240,34 +2240,6 @@ paths:
22402240
$ref: './components.yml#/responses/Forbidden'
22412241
'500':
22422242
$ref: './components.yml#/responses/ServerError'
2243-
post:
2244-
x-amazon-apigateway-integration:
2245-
$ref: "#/components/x-amazon-apigateway-integrations/lambda-integration"
2246-
summary: 토픽 생성 (관리자 전용)
2247-
description: 관리자가 새로운 토픽을 생성합니다.
2248-
tags:
2249-
- 관리자
2250-
requestBody:
2251-
required: true
2252-
content:
2253-
application/json:
2254-
schema:
2255-
type: object
2256-
properties:
2257-
name:
2258-
type: string
2259-
description: 토픽 이름
2260-
category:
2261-
type: string
2262-
description: 토픽 카테고리
2263-
keywords:
2264-
type: array
2265-
items:
2266-
type: string
2267-
description: 토픽 키워드 목록
2268-
required:
2269-
- name
2270-
- category
22712243
responses:
22722244
'200':
22732245
description: 성공적으로 토픽을 생성

0 commit comments

Comments
 (0)