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.json b/encoding/openapi/testdata/oneof.json
index f37e664..2781b7b 100644
--- a/encoding/openapi/testdata/oneof.json
+++ b/encoding/openapi/testdata/oneof.json
@@ -2,7 +2,7 @@
"openapi": "3.0.0",
"info": {},
"components": {
- "schema": {
+ "schemas": {
"MyString": {
"oneOf": [
{
@@ -43,16 +43,16 @@
],
"properties": {
"include": {
- "$ref": "#/components/schema/MyString"
+ "$ref": "#/components/schemas/MyString"
},
"exclude": {
"type": "array",
"items": {
- "$ref": "#/components/schema/MyString"
+ "$ref": "#/components/schemas/MyString"
}
},
"count": {
- "$ref": "#/components/schema/MyInt"
+ "$ref": "#/components/schemas/MyInt"
}
}
}