Skip to content
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

CLI generated from HttpCliApp.fromEndpoints() is not working #3226

Open
gzoller opened this issue Nov 30, 2024 · 0 comments
Open

CLI generated from HttpCliApp.fromEndpoints() is not working #3226

gzoller opened this issue Nov 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gzoller
Copy link

gzoller commented Nov 30, 2024

Describe the bug
Created a simple REST endpoint--basically the books-search example from the ZIO-http docs. Then created a CLI client with HttpCliApp.fromEndpoints(). Built the server and the client into an assembly jar.

I have enabled Swagger and both Swagger and curl will return expected results from the trivial REST API. I have not found a combination of commands to obtain successful operation for the generated CLI. It is clearly trying to run the CLI but is not working.

Information to reproduce the errors (ie commands I used), along with code and output/error examples (in README) are provided here: https://github.com/gzoller/bedrock/tree/brokenCLI

The application is quite trivial and nearly completely lifted from the ZIO documentation, so it should be clear.

Desktop (please complete the following information):

  • OS: MacOS
@gzoller gzoller added the bug Something isn't working label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant