xpipe-io / xpipe

Your entire server infrastructure at your fingertips
https://xpipe.io
Apache License 2.0
2.28k stars 66 forks source link

OpenAPI spec has minor validation errors #283

Closed coandco closed 1 day ago

coandco commented 2 weeks ago

I'm trying to make a Python module off of the XPipe OpenAPI spec using https://github.com/openapi-generators/openapi-python-client, and it's complaining that the keys need to be strings instead of numeric (e.g. this line). You can see that in the official OpenAPI examples, numeric return codes are quoted so the YAML parser doesn't interpret them as numbers.

crschnick commented 2 weeks ago

I guess I can fix that but I checked with multiple openapi editors and they didn't complain about that. Is there anything else it complains about?

crschnick commented 2 weeks ago

So I fixed that even though it's a little bit weird that it complained in the first place