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

Verbosity setting for connect command? #373

Closed
tlmii opened this issue Aug 5, 2020 · 1 comment · Fixed by #405
Closed

Verbosity setting for connect command? #373

tlmii opened this issue Aug 5, 2020 · 1 comment · Fixed by #405
Labels
5.0-dash Potential final items for 5.0
Milestone

Comments

@tlmii
Copy link
Member

tlmii commented Aug 5, 2020

Right now, the connect command is pretty quiet in terms of the output. It tells you the results (which base address and open api address it picked) when it finishes, but otherwise there is no real output.

I propose that we have add a verbose output mode for the command. So the two output modes would be:

  • Standard: Same as now plus adding validation information (see Command to Validate OpenAPI Description? #372) for the selected OpenAPI description if one was found.
  • Verbose: Log all of the OpenAPI description endpoints we try and why they were not selected (404 Not Found or 401 Not Authorized status codes, or no ApiDefinitionReader could handle what was returned) along with validation errors.

Standard would be the default and we could add a --verbose|-v option to the command.

@bradygaster This is more or less what I was talking about when we discussed the SSL issues you were having. Right now the tool just fails silently. This would at least point the user in the right direction even if we can't fix it for them.

@bradygaster
Copy link
Member

WHEN?

@tlmii tlmii added the triage label Aug 12, 2020
@tlmii tlmii added 5.0-dash Potential final items for 5.0 and removed triage labels Oct 22, 2020
@tlmii tlmii added this to the 5.0.0 milestone Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.0-dash Potential final items for 5.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants