Skip to content

show-method-in-nav-bar should default to true when use-path-in-nav-bar is on #847

@pmcelhaney

Description

@pmcelhaney

When use-path-in-nav-bar is enabled, the request method should be visible by default.

Example from https://rapidocweb.com/examples/nav-item-as-path.html

image

I needed to add show-method-in-nav-bar to disambiguate the operations.

image

I'm willing to open a PR if you let me know which solution you prefer.

  1. Make the default value for show-method-in-nav-bar equal to the value of use-path-in-nav-bar.
  2. Don't change the API but mention in the docs that you probably want to use use-path-in-nav-bar if you have show-method-in-nav-bar enabled. Also change the example link in use-path-in-nav-bar to the the example with buttons for showing the method
  3. Something else?

I'm leaning toward the second option because it won't be a breaking change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions