Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ max-toc-depth: 3
The `generators.yml` file serves two purposes: it declares your API definition (required for OpenAPI/AsyncAPI), and configures SDK generation, including which languages to generate, where to publish them, and how to customize each SDK.

<Tip>
To enable intelligent YAML validation and autocompletion in your editor, add a schema directive to the top of your `generators.yml` file.
To enable intelligent YAML validation and autocompletion in your editor, add a schema directive to the top of your `generators.yml` file. This directive is recognized by the [YAML Language Server](https://github.com/redhat-developer/yaml-language-server), which powers YAML support in **VS Code** (via the [YAML extension](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml)), **Neovim**, **Emacs**, and other editors that integrate the YAML Language Server. **IntelliJ IDEA** uses its own built-in YAML support and does not read the `yaml-language-server` directive natively; for schema validation in IntelliJ, configure the schema mapping in **Settings → Languages & Frameworks → Schemas and DTDs → JSON Schema Mappings** and point it to `https://schema.buildwithfern.dev/generators-yml.json`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] <FernStyles.Acronyms> reported by reviewdog 🐶
'IDEA' has no definition.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] <Microsoft.Contractions> reported by reviewdog 🐶
Use 'doesn't' instead of 'does not'.

Suggested change
To enable intelligent YAML validation and autocompletion in your editor, add a schema directive to the top of your `generators.yml` file. This directive is recognized by the [YAML Language Server](https://github.com/redhat-developer/yaml-language-server), which powers YAML support in **VS Code** (via the [YAML extension](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml)), **Neovim**, **Emacs**, and other editors that integrate the YAML Language Server. **IntelliJ IDEA** uses its own built-in YAML support and does not read the `yaml-language-server` directive natively; for schema validation in IntelliJ, configure the schema mapping in **Settings → Languages & Frameworks → Schemas and DTDs → JSON Schema Mappings** and point it to `https://schema.buildwithfern.dev/generators-yml.json`.
To enable intelligent YAML validation and autocompletion in your editor, add a schema directive to the top of your `generators.yml` file. This directive is recognized by the [YAML Language Server](https://github.com/redhat-developer/yaml-language-server), which powers YAML support in **VS Code** (via the [YAML extension](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml)), **Neovim**, **Emacs**, and other editors that integrate the YAML Language Server. **IntelliJ IDEA** uses its own built-in YAML support and doesn't read the `yaml-language-server` directive natively; for schema validation in IntelliJ, configure the schema mapping in **Settings → Languages & Frameworks → Schemas and DTDs → JSON Schema Mappings** and point it to `https://schema.buildwithfern.dev/generators-yml.json`.

</Tip>

```yaml title="generators.yml" maxLines=10
Expand Down
Loading