[jaxrs-spec] generate spec file (yaml) correctly (#243)

Fix #235
This commit is contained in:
William Cheng 2018-06-07 17:08:52 +08:00 committed by Jérémie Bresson
parent cf657f1c7b
commit fbe9626b7e
9 changed files with 4719 additions and 6 deletions

View File

@ -178,7 +178,7 @@ public class JavaJAXRSSpecServerCodegen extends AbstractJavaJAXRSServerCodegen {
@Override @Override
public Map<String, Object> postProcessSupportingFileData(Map<String, Object> objs) { public Map<String, Object> postProcessSupportingFileData(Map<String, Object> objs) {
generateJSONSpecFile(objs); generateYAMLSpecFile(objs);
return super.postProcessSupportingFileData(objs); return super.postProcessSupportingFileData(objs);
} }

View File

@ -1 +1 @@
3.0.0-SNAPSHOT 3.0.1-SNAPSHOT

View File

@ -1 +1 @@
3.0.0-SNAPSHOT 3.0.1-SNAPSHOT

View File

@ -1 +1 @@
3.0.0-SNAPSHOT 3.0.1-SNAPSHOT