File tree 1 file changed +24
-12
lines changed
openapi_spec_validator/resources/schemas/v3.0
1 file changed +24
-12
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "title " : " A JSON Schema for OpenAPI 3.0.X. " ,
2
+ "id " : " https://spec.openapis.org/oas/3.0/schema/2021-09-28 " ,
3
3
"$schema" : " http://json-schema.org/draft-04/schema#" ,
4
- "description" : " Validation schema for OpenAPI Specification 3 .0.X. " ,
4
+ "description" : " The description of OpenAPI v3 .0.x documents, as defined by https://spec.openapis.org/oas/v3.0.3 " ,
5
5
"type" : " object" ,
6
6
"required" : [
7
7
" openapi" ,
1358
1358
"description" : " Bearer" ,
1359
1359
"properties" : {
1360
1360
"scheme" : {
1361
- "enum" : [
1362
- " bearer"
1363
- ]
1361
+ "type" : " string" ,
1362
+ "pattern" : " ^[Bb][Ee][Aa][Rr][Ee][Rr]$"
1364
1363
}
1365
1364
}
1366
1365
},
1374
1373
"properties" : {
1375
1374
"scheme" : {
1376
1375
"not" : {
1377
- "enum" : [
1378
- " bearer"
1379
- ]
1376
+ "type" : " string" ,
1377
+ "pattern" : " ^[Bb][Ee][Aa][Rr][Ee][Rr]$"
1380
1378
}
1381
1379
}
1382
1380
}
1489
1487
"PasswordOAuthFlow" : {
1490
1488
"type" : " object" ,
1491
1489
"required" : [
1492
- " tokenUrl"
1490
+ " tokenUrl" ,
1491
+ " scopes"
1493
1492
],
1494
1493
"properties" : {
1495
1494
"tokenUrl" : {
1516
1515
"ClientCredentialsFlow" : {
1517
1516
"type" : " object" ,
1518
1517
"required" : [
1519
- " tokenUrl"
1518
+ " tokenUrl" ,
1519
+ " scopes"
1520
1520
],
1521
1521
"properties" : {
1522
1522
"tokenUrl" : {
1544
1544
"type" : " object" ,
1545
1545
"required" : [
1546
1546
" authorizationUrl" ,
1547
- " tokenUrl"
1547
+ " tokenUrl" ,
1548
+ " scopes"
1548
1549
],
1549
1550
"properties" : {
1550
1551
"authorizationUrl" : {
1628
1629
"headers" : {
1629
1630
"type" : " object" ,
1630
1631
"additionalProperties" : {
1631
- "$ref" : " #/definitions/Header"
1632
+ "oneOf" : [
1633
+ {
1634
+ "$ref" : " #/definitions/Header"
1635
+ },
1636
+ {
1637
+ "$ref" : " #/definitions/Reference"
1638
+ }
1639
+ ]
1632
1640
}
1633
1641
},
1634
1642
"style" : {
1648
1656
"default" : false
1649
1657
}
1650
1658
},
1659
+ "patternProperties" : {
1660
+ "^x-" : {
1661
+ }
1662
+ },
1651
1663
"additionalProperties" : false
1652
1664
}
1653
1665
}
You can’t perform that action at this time.
0 commit comments