mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-25 18:13:44 +03:00
sync: Synced local 'docs/' with remote 'docs/redoc/'
This commit is contained in:
parent
7e4639e8cf
commit
44372d5702
|
@ -97,7 +97,7 @@ Redoc.init(specOrSpecUrl, options, element, callback)
|
||||||
```
|
```
|
||||||
- `specOrSpecUrl`: Either a JSON object with the OpenAPI definition or a URL to the
|
- `specOrSpecUrl`: Either a JSON object with the OpenAPI definition or a URL to the
|
||||||
definition in JSON or YAML format.
|
definition in JSON or YAML format.
|
||||||
- `options`: See [features.openapi object](/docs/api-reference-docs/configuration/functionality.mdx) reference.
|
- `options`: See [`theme.openapi` object](/docs/api-reference-docs/configuration/functionality.mdx) reference.
|
||||||
- `element`: DOM element Redoc will be inserted into.
|
- `element`: DOM element Redoc will be inserted into.
|
||||||
- `callback`(optional): Callback to be called after Redoc has been fully rendered.
|
- `callback`(optional): Callback to be called after Redoc has been fully rendered.
|
||||||
It is also called on errors with `error` as the first argument.
|
It is also called on errors with `error` as the first argument.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user