forked from loafle/openapi-generator-original
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:
@@ -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;
|
||||
|
||||
@@ -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.*;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user