Improved the validation rules at the OpenAPI specification in the library target.
This commit is contained in:
@@ -35,7 +35,7 @@ info:
|
||||
* *You will require your end users to comply with (and not knowingly enable them to violate) applicable law, regulation, and the Terms.*
|
||||
* *You will comply with all applicable law, regulation, and third party rights (including without limitation laws regarding the import or export of data or software, privacy, and local laws). You will not use the APIs to encourage or promote illegal activity or violation of third party rights.*
|
||||
* *These Terms and Conditions are subject to change without notice, from time to time in our sole discretion.*
|
||||
version: v1.0.0
|
||||
version: 1.0.0
|
||||
termsOfService: https://www.amiiboapi.org/docs/#termscondition
|
||||
contact:
|
||||
name: FAQ
|
||||
@@ -372,9 +372,7 @@ components:
|
||||
|
||||
The positions 0 to 7 of the hexadecimal string.
|
||||
type: string
|
||||
pattern: "^[0-9a-fA-F]+$"
|
||||
minLength: 8
|
||||
maxLength: 8
|
||||
pattern: "^[0-9a-fA-F]{8}$"
|
||||
image:
|
||||
description: A URL pointing to an image of this amiibo.
|
||||
type: string
|
||||
@@ -391,9 +389,7 @@ components:
|
||||
|
||||
The positions 8 to 15 of the hexadecimal string.
|
||||
type: string
|
||||
pattern: "^[0-9a-fA-F]+$"
|
||||
minLength: 8
|
||||
maxLength: 8
|
||||
pattern: "^[0-9a-fA-F]{8}$"
|
||||
type:
|
||||
description: The type of this amiibo (e.g., Figure, Card, Yarn, Band).
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user