forked from loafle/openapi-generator-original
Fix thousands of spelling typos (#10272)
This commit is contained in:
@@ -28,11 +28,11 @@ public class OpenAPIUtils {
|
||||
Set<ConstraintViolation<T>> constraintViolations = validator.validate(obj);
|
||||
if (constraintViolations.size() > 0) {
|
||||
StringBuilder errors = new StringBuilder();
|
||||
for (ConstraintViolation<T> contraintes : constraintViolations) {
|
||||
for (ConstraintViolation<T> constraints : constraintViolations) {
|
||||
errors.append(String.format("%s.%s %s\n",
|
||||
contraintes.getRootBeanClass().getSimpleName(),
|
||||
contraintes.getPropertyPath(),
|
||||
contraintes.getMessage()));
|
||||
constraints.getRootBeanClass().getSimpleName(),
|
||||
constraints.getPropertyPath(),
|
||||
constraints.getMessage()));
|
||||
}
|
||||
throw new RuntimeException("Bean validation : " + errors);
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# You can declare variables and substitute for them:
|
||||
#mykey = ${some.value}
|
||||
#
|
||||
# And if an environment variable exists when there is no other subsitution, then
|
||||
# And if an environment variable exists when there is no other substitution, then
|
||||
# HOCON will fall back to substituting environment variable:
|
||||
#mykey = ${JAVA_HOME}
|
||||
|
||||
@@ -63,7 +63,7 @@ play.http.secret.key = "changeme"
|
||||
# Please see https://www.playframework.com/documentation/latest/GlobalSettings
|
||||
# for more information.
|
||||
#
|
||||
# You can also extend Play functionality by using one of the publically available
|
||||
# You can also extend Play functionality by using one of the publicly available
|
||||
# Play modules: https://playframework.com/documentation/latest/ModuleDirectory
|
||||
play.modules {
|
||||
# By default, Play will load any class called Module that is defined
|
||||
|
||||
@@ -657,7 +657,7 @@
|
||||
}
|
||||
},
|
||||
"X-Expires-After" : {
|
||||
"description" : "date in UTC when toekn expires",
|
||||
"description" : "date in UTC when token expires",
|
||||
"schema" : {
|
||||
"format" : "date-time",
|
||||
"type" : "string"
|
||||
|
||||
Reference in New Issue
Block a user