Redocly/create-openapi-repo

code samples no longer being generated with v3.0.1

tony-assembly opened this issue · 3 comments

Tried generating a new spec using create-openapi-repo . and even though there are code samples generated they do not appear in the rendered document

Thanks for reporting. We'll fix that...

You have to link code-samples directly using $ref, see example here: https://github.com/Rebilly/RebillyAPI/blob/master/openapi/paths/authentication-tokens.yaml#L38-L41

Thanks for reporting. We'll fix that...

You have to link code-samples directly using $ref, see example here: https://github.com/Rebilly/RebillyAPI/blob/master/openapi/paths/authentication-tokens.yaml#L38-L41

Ok awesome. Will give that a go!

Should be fixed in 3.0.2