Skip to content

Commit

Permalink
[jaxrs-spec] generate spec file (yaml) correctly (#243)
Browse files Browse the repository at this point in the history
Fix #235
  • Loading branch information
wing328 authored and jmini committed Jun 7, 2018
1 parent cf657f1 commit fbe9626
Show file tree
Hide file tree
Showing 9 changed files with 4,719 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public void postProcessModelProperty(CodegenModel model, CodegenProperty propert

@Override
public Map<String, Object> postProcessSupportingFileData(Map<String, Object> objs) {
generateJSONSpecFile(objs);
generateYAMLSpecFile(objs);
return super.postProcessSupportingFileData(objs);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.0-SNAPSHOT
3.0.1-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static JustSymbolEnum fromValue(String v) {
}

private @Valid JustSymbolEnum justSymbol = null;

public enum ArrayEnumEnum {

FISH(String.valueOf("fish")), CRAB(String.valueOf("crab"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
public class MapTest implements Serializable {

private @Valid Map<String, Map<String, String>> mapMapOfString = new HashMap<String, Map<String, String>>();

public enum InnerEnum {

UPPER(String.valueOf("UPPER")), LOWER(String.valueOf("lower"));
Expand Down
Loading

0 comments on commit fbe9626

Please sign in to comment.