feat: Controllerの自動生成

This commit is contained in:
2023-08-18 15:25:42 +09:00
parent ebbf153b9b
commit ef6f9ae6ab
2 changed files with 47 additions and 11 deletions
+9 -6
View File
@@ -214,12 +214,7 @@ paths:
content:
application/json:
schema:
type: object
properties:
username:
type: string
password:
type: string
$ref: "#/components/schemas/UserCreate"
responses:
201:
description: ユーザーが作成された
@@ -509,6 +504,14 @@ components:
url:
type: string
UserCreate:
type: object
properties:
username:
type: string
password:
type: string
securitySchemes:
BearerAuth:
type: http