alysivji / alysivji/falcon-apispec
Always getting: One or more HTTP methods are invalid
未關閉
- 主要語言
- Python
- 星號
- 47
- 分支
- 31
- PR 合併指標
- 30 天內沒有已合併 PR
描述
```
apispec.exceptions.APISpecError: One or more HTTP methods are invalid: connect, update, websocket, move, copy, checkout, propfind, trace, lock, report, uncheckin, version-control, proppatch, mkcol, checkin, unlock
```
code
```
class HealthCheck:
def on_get(self, req, resp):
"""A cute furry animal endpoint.
---
description: Get a random pet
responses:
200:
description: A pet to be returned
schema: PetSchema
"""
resp.status = falcon.HTTP_200
resp.body = json.dumps({"status": resp.status, "message": "healthy"})
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。