-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bring Wendy upto date with the new Bob #15
Comments
How would you fetch the api.yaml from the server? would you create a client? but in a CLI program that client will need to be recreated everytime because the CLI process doesn't persist. |
I would say fetching the API all the time for starters is easy to begin with. Later we can make a request and cache it for sometime. Eventually when bob starts versioning the API we can cache till the version changes? |
Also I have some ideas on how to make the CLI parser:
What say? |
I think the parsing could work that way. |
Yeah, by default it should assume |
|
I made the body a slurp parameter now. Will investigate how to use stdin for future: |
With the complete overhaul of Bob and its REST API. wendy is yet to be updated.
Apart from this since the fact that Bob exposes its api.yaml, Wendy's CLI can be fully generated from the OpenAPI spec on the fly resulting in a smarter, simpler codebase.
REST API of Bob: https://bob-cd.github.io/pages/api-reference.html
The text was updated successfully, but these errors were encountered: