diff --git a/content/en/docs/usecases/datadef.md b/content/en/docs/usecases/datadef.md index cd8b26349b3..0fcc21247ef 100644 --- a/content/en/docs/usecases/datadef.md +++ b/content/en/docs/usecases/datadef.md @@ -162,26 +162,28 @@ Compare the following two equivalent schema definitions: {{< blocks/section color="white" >}}
CUE -{{< highlight none >}} + +``` // Definitions. // Info describes... Info: { - // Name of the adapter. - name: string + // Name of the adapter. + name: string - // Templates. - templates?: [...string] + // Templates. + templates?: [...string] - // Max is the limit. - max?: uint & <100 + // Max is the limit. + max?: uint & <100 } -{{< /highlight >}} +```
OpenAPI -{{< highlight json >}} + +```json { "openapi": "3.0.0", "info": { @@ -221,7 +223,7 @@ OpenAPI } } } -{{< /highlight >}} +```
{{< /blocks/section >}}