encoding/openapi: correct typo
Change-Id: I864b86c333069e7e1cacf02ed9d140e13c29ad2a
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/2461
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/encoding/openapi/testdata/oneof-funcs.json b/encoding/openapi/testdata/oneof-funcs.json
index 1510628..dd0755e 100644
--- a/encoding/openapi/testdata/oneof-funcs.json
+++ b/encoding/openapi/testdata/oneof-funcs.json
@@ -5,7 +5,7 @@
"version": "v1"
},
"components": {
- "schema": {
+ "schemas": {
"MYSTRING": {
"description": "Randomly picked description from a set of size one.",
"oneOf": [
@@ -51,17 +51,17 @@
],
"properties": {
"include": {
- "$ref": "#/components/schema/MYSTRING"
+ "$ref": "#/components/schemas/MYSTRING"
},
"exclude": {
"description": "Randomly picked description from a set of size one.",
"type": "array",
"items": {
- "$ref": "#/components/schema/MYSTRING"
+ "$ref": "#/components/schemas/MYSTRING"
}
},
"count": {
- "$ref": "#/components/schema/MYINT"
+ "$ref": "#/components/schemas/MYINT"
}
}
}