Closed adamaltman closed 2 years ago
@adamaltman will renaming the file only for vscode cause duplicate configs for a user? I use vsc and the cli depending on my workflow. I would prefer to maintain a single file. I have a separate issue opened for allowing config file location in vsc settings because it's currently tied to the workspace only. #16
No, it won't cause duplicate configs. It will use either redocly.yaml
or .redocly.yaml
. If both are present, it will throw an error. We are going to release docs about this by next week. This issue was made in advance. :smile:
We released the docs:
https://redocly.com/docs/api-registry/guides/migration-guide-config-file/
What should we improve?
We offer a default Redocly configuration file when we detect an openapi definition.
How should we improve it?
.redocly.yaml
toredocly.yaml
.Why should we improve it?
The current one doesn't actually work and requires the user to make a lot of changes.
Describe alternatives you've considered
apis
section.Additional context
The current generated file: