Redocly/redocly-vs-code

Is there any changes for redocly.yaml configuration?

AviandraP opened this issue · 6 comments

image

Today i experience this issue, is there any changes so i can update my configuration file correctly?
Thank you.

Hi, @AviandraPutri-Jubelio. Thanks for the issue. I'll transfer that to the related repository.

Hi @AviandraPutri-Jubelio,

Some time ago we changed the redocly.yaml syntax. Please take a look at the docs.

We will support the old syntax until the stable release, so you can leave it as it is for the time being. However, if you want to update your configuration file, here is the migration guide: https://redocly.com/docs/api-registry/guides/migration-guide-config-file/#changed-properties .

hello, i've changed it into the newest one, but this errors keep showing, do you have any idea why?
image

Hello @AviandraP and thank you for reporting an issue.
Unfortunately, we don't have a migration guide from version < 1.0.0-beta.106 yet.
Also in the latest versions we don't have lint (as well as styleguide) field anymore. Please write your rules field on top level, e.g.:

apis:
  main@v1:
    root: ./openapi.yaml
rules:
  example-rule-name: error
features.openapi:
  ...

For features.openapi please use this schema.

Hello @AviandraP!
Have the last comment solved your issue?
May we close it?

Sorry that I forget to tell you, yes i've solved my issue, thank you so much!