mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-06 04:21:09 +00:00
docs: Fix an outdated admonition format (#1711)
This commit is contained in:
committed by
GitHub
parent
ed52a9121f
commit
1002e80f40
@@ -99,13 +99,12 @@ opportunities to make sure that your AsyncAPI spec conforms with expectations
|
|||||||
(we'd also love to see what you're building, it helps us know how things are
|
(we'd also love to see what you're building, it helps us know how things are
|
||||||
going!).
|
going!).
|
||||||
|
|
||||||
:::info Custom plugins
|
{% admonition type="info" name="Custom plugins" %}
|
||||||
|
|
||||||
For those users with advanced requirements and JavaScript skills, the [custom
|
For those users with advanced requirements and JavaScript skills, the [custom
|
||||||
plugins](../custom-plugins/index.md) feature offers some extension points if you need
|
plugins](../custom-plugins/index.md) feature offers some extension points if you need
|
||||||
them.
|
them.
|
||||||
|
|
||||||
:::
|
{% /admonition %}
|
||||||
|
|
||||||
## Supported protocols
|
## Supported protocols
|
||||||
|
|
||||||
|
|||||||
@@ -46,14 +46,8 @@ redocly lint openapi.yml
|
|||||||
|
|
||||||
You can add more [built-in rules](../rules/built-in-rules.md) by adding them in the configuration file, and adjust the level of the messages by using `warn` rather than `error`.
|
You can add more [built-in rules](../rules/built-in-rules.md) by adding them in the configuration file, and adjust the level of the messages by using `warn` rather than `error`.
|
||||||
|
|
||||||
<!-- :::info Redocly configuration -->
|
|
||||||
|
|
||||||
<!-- :::info Redocly configuration -->
|
|
||||||
|
|
||||||
Learn more about [configuring Redocly CLI](../configuration/index.md) in the documentation.
|
Learn more about [configuring Redocly CLI](../configuration/index.md) in the documentation.
|
||||||
|
|
||||||
<!-- ::: -->
|
|
||||||
|
|
||||||
## Bundle OpenAPI/Swagger into a single file
|
## Bundle OpenAPI/Swagger into a single file
|
||||||
|
|
||||||
While the OpenAPI (and earlier Swagger) standards were designed to use `$ref` reference syntax and re-use elements of API descriptions across mulitple files, not all tools support this. If there's a tool in your API lifecycle that needs a single file, you can still use mulitple files for the day-to-day work, and then "bundle" the API description into a single file for use by another tool.
|
While the OpenAPI (and earlier Swagger) standards were designed to use `$ref` reference syntax and re-use elements of API descriptions across mulitple files, not all tools support this. If there's a tool in your API lifecycle that needs a single file, you can still use mulitple files for the day-to-day work, and then "bundle" the API description into a single file for use by another tool.
|
||||||
|
|||||||
Reference in New Issue
Block a user