Updated documentation

This commit is contained in:
Robert Winkler
2015-02-19 11:09:02 +01:00
parent 0ca91ea930
commit e6f7372c9f
4 changed files with 18 additions and 14 deletions

View File

@@ -183,7 +183,7 @@ public class PathsDocument extends MarkupDocument {
if(examplesEnabled){
String summary = operation.getSummary();
if(StringUtils.isNotBlank(summary)) {
String exampleFolder = summary.replace(" ", "_").toLowerCase();
String exampleFolder = summary.replace(".", "").replace(" ", "_").toLowerCase();
example(EXAMPLE_REQUEST, exampleFolder, REQUEST_EXAMPLE_FILE_NAME);
example(EXAMPLE_RESPONSE, exampleFolder, RESPONSE_EXAMPLE_FILE_NAME);
}