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

Tree prints out multiple of the same endpoint when verbose = 0 #49

Open
econchick opened this issue Sep 15, 2015 · 0 comments
Open

Tree prints out multiple of the same endpoint when verbose = 0 #49

econchick opened this issue Sep 15, 2015 · 0 comments
Labels
Milestone

Comments

@econchick
Copy link
Contributor

An example RAML file:

# <-- snip -->
/foo:
  get:
    description: get foo
  post:
    description: post foo
  put:
    description: put foo

When running tree on the RAML file, it would print out like so:

$ ramlfications tree api.raml
# <--snip-->
|- /foo
|- /foo
|- /foo

I it to just be condensed to just one /foo.

With increased verbosity, it's a bit more understandable:

$ ramlfications tree api.raml
# <--snip-->
|- /foo
  ⌙ GET
|- /foo
  ⌙ POST
|- /foo
  ⌙ PUT

Still isn't too pretty; maybe it should be more like:

$ ramlfications tree api.raml
# <--snip-->
|- /foo
  ⌙ GET
  ⌙ POST
  ⌙ PUT
@econchick econchick added the bug label Sep 15, 2015
@econchick econchick modified the milestone: 0.2.1 Release Dec 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant