Fixup generation of Javascript samples

The generation code was ignoring top-level aliases for any language config that
contained "java", which included "javascript", a completely different language.

Changed this to be those configs based on the JavaAbstractGenerator class.
This commit is contained in:
Benjamin Douglas
2017-04-17 17:50:01 -07:00
parent 73454e95dc
commit 07ba1eb6f8
25 changed files with 868 additions and 11 deletions

View File

@@ -1,8 +1,8 @@
package io.swagger.api;
import java.io.File;
import io.swagger.model.ModelApiResponse;
import io.swagger.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity;

View File

@@ -1,8 +1,8 @@
package io.swagger.api;
import java.io.File;
import io.swagger.model.ModelApiResponse;
import io.swagger.model.Pet;
import org.springframework.core.io.Resource;
import io.swagger.annotations.*;