pingdotgg / uploadthing

File uploads for modern web devs
https://uploadthing.com
MIT License
4.24k stars 316 forks source link

docs: OpenAPI HTTP1.1 example code is invalid #983

Closed EmilyNyx closed 1 month ago

EmilyNyx commented 1 month ago

Area of Improvement

When choosing HTTP/1.1 HTTP for your client library, the example code provided for the endpoints starts with "POST /v7/getAppInfo 1.1", which is invalid and should read "POST /v7/getAppInfo HTTP/1.1" (this is true for all endpoints, I just grabbed one at random as an example)

Using the example code directly as copied from the copy button, will result in a 404 response.

Link to related docs

https://docs.uploadthing.com/api-reference/openapi-spec

Additional information

No response

๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Contributing

marclave commented 1 month ago

hey @EmilyNyx thanks for reporting this!

something we need to fix on our end https://github.com/scalar/scalar :)

will make an issue there as well!

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had any activity for 10 days. It will be closed in 5 days if no further activity occurs.

github-actions[bot] commented 1 month ago

This issue has been closed because it has not had any activity for 5 days since being marked as stale.