TuyaAPI / openapi

🚪 a wrapper for Tuya's OpenAPI
https://github.com/TuyaAPI/openapi/blob/master/docs/classes/api.openapi.md
MIT License
20 stars 13 forks source link

Extended API typings #6

Closed milo526 closed 3 years ago

milo526 commented 3 years ago

Changed the default object typings to more specific typings. Fixed some API endpoints that were wrongly typed as Promise<string>, which should also have been of the object type.

Fixes #5

This is preparation work for https://github.com/TuyaAPI/link/issues/11

milo526 commented 3 years ago

I have no idea how I should open the documentation locally 🙈 so that part was not checked - it is however automatically generated without further alterations from me.

codetheweb commented 3 years ago

Thanks, LGTM.

The docs seem to be somewhat broken because nothing seems to be linked from index.html. I'll try to fix that after merging this.

codetheweb commented 3 years ago

Docs are now fixed.

milo526 commented 3 years ago

Thank you for being such pro-active and quick about all of this!

it's nice to see this get merged and quickly so swiftly.

codetheweb commented 3 years ago

Travis seems to currently be broken for some reason, but this should now be published in v1.2.2.