diff --git a/groupAPI.yaml b/groupAPI.yaml new file mode 100644 index 0000000..8e89b70 --- /dev/null +++ b/groupAPI.yaml @@ -0,0 +1,35 @@ +swagger: "2.0" +info: + description: "This is " + version: "1.0.0" + title: "Petstore API" + termsOfService: "http://swagger.io/terms/" + contact: + email: "apiteam@swagger.io" + license: + name: "Apache 2.0" + url: "http://www.apache.org/licenses/LICENSE-2.0.html" +paths: + /pet/{petId}: + get: + summary: "ペット情報API" + description: "指定されたpetIdの情報を返します" + parameters: + - name: "petId" + in: "path" + description: "取得したいペットのID" + required: true + type: "integer" + format: "int64" + responses: + 200: + description: "成功時のレスポンス" + schema: + type: "object" + properties: + id: + type: "integer" + format: "int64" + name: + type: "string" + example: "doggie" \ No newline at end of file