80days - Multi-city European Travel (Beta 21.02)
80days - Multi-city European Travel (Beta 21.02) · GPT 작업
80days market service
make a magic
POST /magic/happenlet there be magiclet there be magic
GET /pingsending request for pingdo ping
원본 API 스키마
{
"openapi": "3.0.1",
"info": {
"title": "80days market service",
"description": "make a magic",
"contact": {},
"version": "1.0"
},
"servers": [
{
"url": "https://api.eightydays.me/actions/v1"
}
],
"paths": {
"/magic/happen": {
"post": {
"tags": [
"let there be magic"
],
"summary": "let there be magic",
"description": "let there be magic",
"operationId": "magic_happen",
"requestBody": {
"description": "body",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/entity.MagicHappen"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/v1.MagicToursResponse"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/v1.MagicErrorResponse"
}
}
}
},
"500": {
"description": "Internal Server Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/v1.MagicErrorResponse"
}
}
}
}
},
"x-codegen-request-body-name": "MagicHappen"
}
},
"/ping": {
"get": {
"tags": [
"health check"
],
"summary": "sending request for ping",
"description": "do ping",
"operationId": "magic_ping_get",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"entity.MagicHappen": {
"type": "object",
"properties": {
"cities": {
"type": "array",
"items": {
"type": "string"
}
},
"city": {
"type": "string"
},
"end": {
"type": "string"
},
"start": {
"type": "string"
}
}
},
"entity.ToursSimpleInfo": {
"type": "object",
"properties": {
"legend": {
"type": "string"
},
"url": {
"type": "string"
}
}
},
"v1.MagicErrorResponse": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
},
"v1.MagicToursResponse": {
"type": "object",
"properties": {
"instruction": {
"type": "string"
},
"simple_info": {
"type": "array",
"items": {
"$ref": "#/components/schemas/entity.ToursSimpleInfo"
}
}
}
}
}
},
"x-original-swagger-version": "2.0"
}