Skip to content

Commit c398b9f

Browse files
authored
Merge pull request #415 from RepreZen/task/374
[#374] Validate format constraints on string properties as described …
2 parents 4a40fc3 + 998d36d commit c398b9f

File tree

1 file changed

+5
-3
lines changed
  • com.reprezen.swagedit.openapi3/src/com/reprezen/swagedit/openapi3/schema

1 file changed

+5
-3
lines changed

com.reprezen.swagedit.openapi3/src/com/reprezen/swagedit/openapi3/schema/schema_v3.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,12 @@
102102
"type": "string"
103103
},
104104
"url": {
105-
"type": "string"
105+
"type": "string",
106+
"format": "uri"
106107
},
107108
"email": {
108-
"type": "string"
109+
"type": "string",
110+
"format": "email"
109111
}
110112
}
111113
},
@@ -1246,4 +1248,4 @@
12461248
]
12471249
}
12481250
}
1249-
}
1251+
}

0 commit comments

Comments
 (0)