-
Notifications
You must be signed in to change notification settings - Fork 43
Conversation
openapi.yaml
Outdated
$ref: '#/components/schemas/401Response' | ||
/app/upload_hub_params: | ||
post: | ||
summary: AndroidApp - Set Hum Parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this might need to be Hub
parameters instead of Hum
?
Looks nice! Glad we finally are getting somewhere. |
So, how do you think we should host the UI? Just noting that it could be imported into |
@nonsleepr I think GitHub Pages would be nice. 👍 |
Can you set it up? Something like this: https://github.com/peter-evans/swagger-github-pages. |
Might need @FuzzyMistborn to do it since he owns the repo. |
Ok the github page is setup, but I can't get it to point to dev (never dealt with swagger or github pages before). If it needs to go to master you should just commit it and everything should be set up correctly. |
Done. @FuzzyMistborn, going forward, let's make sure that PRs are squash-merged; it'll ensure we keep a clean commit history. |
Yeah sorry, been a long week and I probably shouldn't have done that so late. Thanks! |
No worries! I’ve been there. 😂👍🏻 |
I'm unclear on whether that URL matches the directory structure in |
Yeah, it expects to see Possible ways to solve that:
I would prefer the option D, it should be easy to automate as well. |
I like option D, too. |
Ah, i misread the setup docs. They said move index.html out of the dist folder....i think that's where I got confused. I also like option D. |
I'll take care of it. 👍 |
Okay, |
Updated the settings. On mobile atm, can check later if it worked. |
It works! |
Solves #3.
To see how it looks like, Import URL
https://raw.githubusercontent.com/nonsleepr/python-eufy-security/api-docs/openapi.yaml
into https://editor.swagger.io/ (a bonus: you could actually poke around API there).The way I see it deployed, is something like described here.