You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The root cause is the generation of lots of warning messages for fields that do not have checkers. (for example the fields example and x-swagger-router-model)
/* * Grab all checkers and object member names. Retain in checkers only * existing keywords, and remove from the member names set what is in * the checkers' key set: if non empty, some keywords are missing, * report them. */finalMap<String, SyntaxChecker> map = Maps.newTreeMap();
map.putAll(checkers);
finalSet<String> fields = Sets.newHashSet(node.fieldNames());
map.keySet().retainAll(fields);
fields.removeAll(map.keySet());
if (!fields.isEmpty())
report.warn(newMsg(tree, "core.unknownKeywords")
.putArgument("ignored", Ordering.natural().sortedCopy(fields)));
The text was updated successfully, but these errors were encountered:
The root cause is the generation of lots of warning messages for fields that do not have checkers. (for example the fields
example
andx-swagger-router-model
)This is the relevant bit of code
The text was updated successfully, but these errors were encountered: