Skip to content

Commit

Permalink
fixing json-schema format
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorKrusen authored and lornajane committed May 10, 2024
1 parent 1d995ac commit b0feae6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/configuration/apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ If per-API and root settings modify the same properties, per-API settings overri
## Patterned properties

{% json-schema
schema="./api.yaml"
schema={
"$ref": "./api.yaml"
}
options={
schemaExpansionLevel: 2,
}
Expand Down
8 changes: 6 additions & 2 deletions docs/configuration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ This object is optional.
#### Fixed properties

{% json-schema
schema="./mockserver.yaml"
schema={
"$ref": "./mockserver.yaml"
}
options={
schemaExpansionLevel: 1,
}
Expand Down Expand Up @@ -203,7 +205,9 @@ Redocly CLI supports one `http` header per URL.
#### Fixed properties

{% json-schema
schema="./resolve.yaml"
schema={
"$ref": "./resolve.yaml"
}
options={
schemaExpansionLevel: 2,
}
Expand Down

0 comments on commit b0feae6

Please sign in to comment.