mirror of
https://github.com/Redocly/redoc.git
synced 2025-04-19 16:22:05 +03:00
chore: fix problem inside documentation
This commit is contained in:
parent
abfb3244ab
commit
0f1a0eb6aa
|
@ -218,7 +218,7 @@ _Default: false_
|
|||
If set to `true`, the API definition is considered untrusted and all HTML/Markdown is sanitized to prevent XSS.
|
||||
|
||||
## Theme settings
|
||||
Change styles for the API documentation page **Supported in Redoc CE 2.x **.
|
||||
Change styles for the API documentation page **Supported in Redoc CE 2.x**.
|
||||
* `spacing`
|
||||
* `unit`: 5 # main spacing unit used in autocomputed theme values later
|
||||
* `sectionHorizontal`: 40 # Horizontal section padding. COMPUTED: spacing.unit * 8
|
||||
|
|
|
@ -334,7 +334,7 @@ The enum (short for "enumeration") fields in OpenAPI allow you to restrict the v
|
|||
|
||||
Add x-enumDescriptions to your OpenAPI description to show a helpful table of enum options and an explanation of what each one means. This field supports Markdown.
|
||||
|
||||
#### x-explicitMappingOnly example
|
||||
#### x-enumDescriptions example
|
||||
The following example shows a schema with two short-named options, and the x-enumDescriptions entry to list all enum entries and give additional context for each:
|
||||
|
||||
```yaml
|
||||
|
|
Loading…
Reference in New Issue
Block a user