add format checks to these strings
/info/termsOfService:
/contact/url, email
implicit/authorizationUrl:
authorizationUrl, tokenUrl, refreshUrl:
MODIFY
schemas/v3.1/schema.json
schemas/v3.1/schema.json
"type": "string"
},
"termsOfService": {
- "type": "string"
+ "type": "string",
+ "format": "uri"
},
"contact": {
"$ref": "#/$defs/contact"
"type": "string"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri"
},
"email": {
- "type": "string"
+ "type": "string",
+ "format": "email"
}
},
"$ref": "#/$defs/specification-extensions",
"type": "object",
"properties": {
"authorizationUrl": {
- "type": "string"
+ "type": "string",
+ "format": "uri"
},
"refreshUrl": {
- "type": "string"
+ "type": "string",
+ "format": "uri"
},
"scopes": {
"$ref": "#/$defs/map-of-strings"
"type": "object",
"properties": {
"tokenUrl": {
- "type": "string"
+ "type": "string",
+ "format": "uri"
},
"refreshUrl": {
- "type": "string"
+ "type": "string",
+ "format": "uri"
},
"scopes": {
"$ref": "#/$defs/map-of-strings"
"type": "object",
"properties": {
"tokenUrl": {
- "type": "string"
+ "type": "string",
+ "format": "uri"
},
"refreshUrl": {
- "type": "string"
+ "type": "string",
+ "format": "uri"
},
"scopes": {
"$ref": "#/$defs/map-of-strings"
"type": "object",
"properties": {
"authorizationUrl": {
- "type": "string"
+ "type": "string",
+ "format": "uri"
},
"tokenUrl": {
- "type": "string"
+ "type": "string",
+ "format": "uri"
},
"refreshUrl": {
- "type": "string"
+ "type": "string",
+ "format": "uri"
},
"scopes": {
"$ref": "#/$defs/map-of-strings"

MODIFY
schemas/v3.1/schema.yaml
schemas/v3.1/schema.yaml
@@ -60,6 +60,7 @@ $defs:
type: string
termsOfService:
type: string
+ format: uri
contact:
$ref: '#/$defs/contact'
license:
@@ -80,8 +81,10 @@ $defs:
type: string
url:
type: string
+ format: uri
email:
type: string
+ format: email
$ref: '#/$defs/specification-extensions'
unevaluatedProperties: false
@@ -879,8 +882,10 @@ $defs:
properties:
authorizationUrl:
type: string
+ format: uri
refreshUrl:
type: string
+ format: uri
scopes:
$ref: '#/$defs/map-of-strings'
required:
@@ -894,8 +899,10 @@ $defs:
properties:
tokenUrl:
type: string
+ format: uri
refreshUrl:
type: string
+ format: uri
scopes:
$ref: '#/$defs/map-of-strings'
required:
@@ -909,8 +916,10 @@ $defs:
properties:
tokenUrl:
type: string
+ format: uri
refreshUrl:
type: string
+ format: uri
scopes:
$ref: '#/$defs/map-of-strings'
required:
@@ -924,10 +933,13 @@ $defs:
properties:
authorizationUrl:
type: string
+ format: uri
tokenUrl:
type: string
+ format: uri
refreshUrl:
type: string
+ format: uri
scopes:
$ref: '#/$defs/map-of-strings'
required:

add format checks to these strings

/info/termsOfService: https://spec.openapis.org/oas/v3.1.0#fixed-fields-0
/contact/url, email : https://spec.openapis.org/oas/v3.1.0#fixed-fields-1
implicit/authorizationUrl: https://spec.openapis.org/oas/v3.1.0#fixed-fields-24
authorizationUrl, tokenUrl, refreshUrl: https://spec.openapis.org/oas/v3.1.0#fixed-fields-24