@Override
  public void apply(Swagger swagger) {
    if (swagger.getDefinitions() != null) {
      swagger.setDefinitions(new TreeMap<>(swagger.getDefinitions()));
    }

    if (swagger.getPaths() != null) {
      swagger.setPaths(new TreeMap<>(swagger.getPaths()));
    }
  }
Swagger model uses LinkedHashMap for data like paths, definitions. Due to no order guarantee, it
causes problem that the swagger.yml generated from the model may var even no swagger model change
buildSrc/src/main/java/com/amazonaws/blox/swagger/SortedModelFilter.java