Skip to content

Commit 5d57ec0

Browse files
committed
Generate JSON for new version of 3.1 schemas
1 parent b24dda8 commit 5d57ec0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

schemas/v3.1/schema.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,7 @@
622622
},
623623
"parameter-or-reference": {
624624
"if": {
625+
"type": "object",
625626
"required": [
626627
"$ref"
627628
]
@@ -865,6 +866,7 @@
865866
},
866867
"example-or-reference": {
867868
"if": {
869+
"type": "object",
868870
"required": [
869871
"$ref"
870872
]
@@ -1131,7 +1133,8 @@
11311133
"const": "http"
11321134
},
11331135
"scheme": {
1134-
"const": "bearer"
1136+
"type": "string",
1137+
"pattern": "^[Bb][Ee][Aa][Rr][Ee][Rr]$"
11351138
}
11361139
},
11371140
"required": [
@@ -1144,10 +1147,7 @@
11441147
"bearerFormat": {
11451148
"type": "string"
11461149
}
1147-
},
1148-
"required": [
1149-
"scheme"
1150-
]
1150+
}
11511151
}
11521152
},
11531153
"type-oauth2": {

0 commit comments

Comments
 (0)