.swagger-validator.1.6.47.source-code.messages.properties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swagger-validator Show documentation
Show all versions of swagger-validator Show documentation
A handler that validates request based on swagger.json
#
# Copyright (c) 2016 Network New Technologies Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
validation.request.path.missing=No API path found that matches request '%s'.
validation.request.operation.notAllowed=%s operation not allowed on path '%s'.
validation.request.body.unexpected=No request body is expected for %s on path '%s'.
validation.request.body.missing=%s on path '%s' requires a request body. None found.
validation.request.parameter.query.missing=Query parameter '%s' is required on path '%s' but not found in request.
validation.request.parameter.missing=Parameter '%s' is required but is missing.
validation.request.parameter.enum.invalid=Value '%s' for parameter '%s' is not allowed. Allowed values are <%s>.
validation.request.parameter.invalidFormat=Value '%s' for parameter '%s' does not match type '%s' with format '%s'.
validation.request.parameter.number.belowMin=Value '%s' for parameter '%s' less than allowed min value %f.
validation.request.parameter.number.aboveMax=Value '%s' for parameter '%s' greater than allowed max value %f.
validation.request.parameter.collection.invalidFormat=Parameter '%s' expected collection format of '%s' but '%s' was used instead.
validation.request.parameter.collection.tooManyItems=Parameter '%s' accepts a maximum of %d items. Found %d.
validation.request.parameter.collection.tooFewItems=Parameter '%s' accepts a minimum of %d items. Found %d.
validation.request.parameter.collection.duplicateItems=Parameter '%s' does not allow duplicate values.
validation.response.status.unknown=Response status %d not defined for path '%s'.
validation.response.body.missing=%s on path '%s' defines a response schema but no response body found.
validation.schema.invalidJson=Unable to parse JSON - %s
# Other schema validation messages come from the json-schema-validation library
# https://github.com/daveclayton/json-schema-validator
# They are emitted with keys of the form 'validation.schema.'
# where corresponds to a JSON schema validation keyword.
# See http://json-schema.org/latest/json-schema-validation.html for keywords that may occur.
#
# For example
# - validation.schema.required: A required field is missing
# - validation.schema.type: A field has the incorrect type