File tree 3 files changed +6
-8
lines changed
3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -1584,8 +1584,7 @@ module Document
1584
1584
'type' => 'string'
1585
1585
} ,
1586
1586
'operationRef' => {
1587
- 'type' => 'string' ,
1588
- 'format' => 'uri-reference'
1587
+ 'type' => 'string'
1589
1588
} ,
1590
1589
'parameters' => {
1591
1590
'type' => 'object' ,
Original file line number Diff line number Diff line change @@ -270,8 +270,7 @@ def self.dialect_schema(dialect)
270
270
'type' => 'object' ,
271
271
'properties' => {
272
272
'url' => {
273
- 'type' => 'string' ,
274
- 'format' => 'uri-reference'
273
+ 'type' => 'string'
275
274
} ,
276
275
'description' => {
277
276
'type' => 'string'
@@ -1054,8 +1053,7 @@ def self.dialect_schema(dialect)
1054
1053
'type' => 'object' ,
1055
1054
'properties' => {
1056
1055
'operationRef' => {
1057
- 'type' => 'string' ,
1058
- 'format' => 'uri-reference'
1056
+ 'type' => 'string'
1059
1057
} ,
1060
1058
'operationId' => {
1061
1059
'type' => 'string'
Original file line number Diff line number Diff line change @@ -435,8 +435,9 @@ def test_published_meta_schemas
435
435
JSONSchemer ::Draft4 ::SCHEMA ,
436
436
JSONSchemer ::OpenAPI31 ::SCHEMA ,
437
437
JSONSchemer ::OpenAPI31 ::Meta ::BASE ,
438
- JSONSchemer ::OpenAPI31 ::Document ::SCHEMA ,
439
- JSONSchemer ::OpenAPI30 ::Document ::SCHEMA
438
+ # fixme: https://github.com/OAI/OpenAPI-Specification/pull/3455
439
+ # JSONSchemer::OpenAPI31::Document::SCHEMA,
440
+ # JSONSchemer::OpenAPI30::Document::SCHEMA
440
441
] . each do |meta_schema |
441
442
id = meta_schema . key? ( '$id' ) ? meta_schema . fetch ( '$id' ) : meta_schema . fetch ( 'id' )
442
443
assert_equal ( meta_schema , JSON . parse ( fetch ( id ) ) )
You can’t perform that action at this time.
0 commit comments