Skip to content

Commit

Permalink
give helpful format: uri messages for SecurityDefinitions (for swag…
Browse files Browse the repository at this point in the history
  • Loading branch information
shockey committed Apr 17, 2019
1 parent 580d93a commit de6f5b2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/plugins/json-schema-validator/swagger2-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -939,6 +939,8 @@ definitions:
authorizationUrl:
type: string
format: uri
errorMessage:
format: should be an absolute URI
description:
type: string
patternProperties:
Expand All @@ -965,6 +967,8 @@ definitions:
tokenUrl:
type: string
format: uri
errorMessage:
format: should be an absolute URI
description:
type: string
patternProperties:
Expand All @@ -991,6 +995,8 @@ definitions:
tokenUrl:
type: string
format: uri
errorMessage:
format: should be an absolute URI
description:
type: string
patternProperties:
Expand Down Expand Up @@ -1018,9 +1024,13 @@ definitions:
authorizationUrl:
type: string
format: uri
errorMessage:
format: should be an absolute URI
tokenUrl:
type: string
format: uri
errorMessage:
format: should be an absolute URI
description:
type: string
patternProperties:
Expand Down

0 comments on commit de6f5b2

Please sign in to comment.