toshi-pono / aiotraq

Async ready API Client and bot library for traQ written in Python
https://toshi-pono.github.io/aiotraq/
MIT License
6 stars 1 forks source link

POST /webhooks/{webhookId} が生成できない #1

Open toshi-pono opened 4 months ago

toshi-pono commented 4 months ago

生成時,以下のwarningがでる

Warning(s) encountered while generating. Client was generated, but some pieces may be missing

WARNING parsing POST /webhooks/{webhookId} within webhook. Endpoint will not be generated.

Unsupported content type text/plain

openapi-python-clientの CHANGELOG.md に以下のように書いてある.現状では,text/plainは厳しそう?

Only one content type per "category" is currently supported at a time. The categories are:

  • JSON, like application/json
  • Binary data, like application/octet-stream
  • Encoded form data, like application/x-www-form-urlencoded
  • Files, like multipart/form-data
toshi-pono commented 4 months ago

requestBodyのみ対応していないっぽい

toshi-pono commented 2 months ago

↑手動では追加した.自動生成は対応状況を見てまた考える