mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-29 03:53:43 +03:00
sync: Synced local 'docs/' with remote 'docs/redoc/'
This commit is contained in:
parent
6b7283f240
commit
0aafee1131
|
@ -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 [options object](https://redocly.com/docs/api-reference-docs/configuration/) reference.
|
- `options`: See [features.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