Authress-Engineering / openapi-explorer

OpenAPI Web component to generate a UI from the spec.
Apache License 2.0
316 stars 42 forks source link

Some parameter name were changed in 2.0 release #192

Closed glennsc closed 1 year ago

glennsc commented 1 year ago

Starting around the time of 2.0.614 the show-authentication and show-server-selection parameters are not being honored when I drop a Vue component into Vitepress. enable-console and the other parameters below) work as expected:

  <openapi-explorer
    v-if = isDark
    spec-url = "/mdm-service.yaml"
    enable-console = false
    show-authentication = false
    show-server-selection = false
    hide-components = true
    nav-bg-color = #000000
    secondary-color = #ffffff
    nav-hover-text-color = #85bd4f
    bg-color = #000000
    text-color = "#ffffff"
  >
  </openapi-explorer>

Any changes to those parameters that I might be missing?

wparad commented 1 year ago

Yes! This was changed in the 2.0 release, you can read all about the breaking changes in the changelog: https://github.com/Rhosys/openapi-explorer/blob/release/2.0/CHANGELOG.md#20

glennsc commented 1 year ago

@wparad Thank you, and so sorry for missing that change in the doc.

wparad commented 1 year ago

No worries at all.