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

Broken HTTP header ref examples on redoc-cli version 0.8.5. #998

Closed
marcoonroad opened this issue Jul 31, 2019 · 2 comments
Closed

Broken HTTP header ref examples on redoc-cli version 0.8.5. #998

marcoonroad opened this issue Jul 31, 2019 · 2 comments

Comments

@marcoonroad
Copy link

The previous pinned version which we have things OK is the redoc-cli 0.7.0.

The expected / normal behavior on version 0.7.0:

Screenshot from 2019-07-31 19-34-32 (copy)

The bug (on version 0.8.5):

Screenshot from 2019-07-31 19-30-43 (copy)

The code regarding the HTTP headers:

components:
  schemas:
    RawXPartnerIdType:
      description: The API Key identifying our partner.
      type: string
      example: "003026bbc133714df1834b8638bb496e-8f4b3d9a-e931-478d-a994-28a725159ab9"

    RawXAnonymousDeviceIdType:
      description: A unique identification collected from the device running the mobile app.
      type: string
      example: "2fc4b5912826ad1"
parameters:
- name: x-anonymous-device-id
  in: header
  required: true
  schema:
    $ref: 'schemas/primitives.yml#/components/schemas/RawXAnonymousDeviceIdType'
- name: x-partner-id
  in: header
  required: true
  schema:
    $ref: 'schemas/primitives.yml#/components/schemas/RawXPartnerIdType'
@RomanHotsiy
Copy link
Member

fixed in redoc-cli@0.8.6

RomanHotsiy added a commit that referenced this issue Aug 1, 2019
@marcoonroad
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants