File tree Expand file tree Collapse file tree 1 file changed +27
-15
lines changed Expand file tree Collapse file tree 1 file changed +27
-15
lines changed Original file line number Diff line number Diff line change 822
822
{
823
823
"description" : " ref to if" ,
824
824
"schema" : {
825
- "$ref" : " http://example.com/ref/if" ,
826
- "if" : {
827
- "$id" : " http://example.com/ref/if" ,
828
- "type" : " integer"
829
- }
825
+ "allOf" : [
826
+ {"$ref" : " http://example.com/ref/if" },
827
+ {
828
+ "if" : {
829
+ "$id" : " http://example.com/ref/if" ,
830
+ "type" : " integer"
831
+ }
832
+ }
833
+ ]
830
834
},
831
835
"tests" : [
832
836
{
844
848
{
845
849
"description" : " ref to then" ,
846
850
"schema" : {
847
- "$ref" : " http://example.com/ref/then" ,
848
- "then" : {
849
- "$id" : " http://example.com/ref/then" ,
850
- "type" : " integer"
851
- }
851
+ "allOf" : [
852
+ {"$ref" : " http://example.com/ref/then" },
853
+ {
854
+ "then" : {
855
+ "$id" : " http://example.com/ref/then" ,
856
+ "type" : " integer"
857
+ }
858
+ }
859
+ ]
852
860
},
853
861
"tests" : [
854
862
{
866
874
{
867
875
"description" : " ref to else" ,
868
876
"schema" : {
869
- "$ref" : " http://example.com/ref/else" ,
870
- "else" : {
871
- "$id" : " http://example.com/ref/else" ,
872
- "type" : " integer"
873
- }
877
+ "allOf" : [
878
+ {"$ref" : " http://example.com/ref/else" },
879
+ {
880
+ "else" : {
881
+ "$id" : " http://example.com/ref/else" ,
882
+ "type" : " integer"
883
+ }
884
+ }
885
+ ]
874
886
},
875
887
"tests" : [
876
888
{
You can’t perform that action at this time.
0 commit comments