Skip to content

Code samples not showing, generateCodeSamples has no effect #2717

@KieranP

Description

@KieranP

Just installed Redoc CLI 2.0.8. Added the following to redocly.yaml based on https://github.com/Redocly/openapi-starter/blob/main/redocly.yaml:

openapi:
  hideDownloadButtons: true
  generateCodeSamples:
    languages:
      - lang: curl
      - lang: Node.js
      - lang: JavaScript
      - lang: PHP
      - lang: Python

Generate the site and the download buttons are gone, but no code samples found anywhere...

What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions