Skip to content

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

@gzoller

Description

@gzoller

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions