forked from loafle/openapi-generator-original
Remove servers urls with trailing slash (#7940)
* remove trailing slash * update sample app * added tests * bug fix * Adds test in DefaultGeneratorTest * Reverts python files * Does not modify a value of / * Stops skipping / use case * update samples Co-authored-by: Justin Black <justin.a.black@gmail.com> Co-authored-by: William Cheng <wing328hk@gmail.com>
This commit is contained in:
@@ -72,7 +72,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
|
||||
protected List<ServerConfiguration> servers = new ArrayList<ServerConfiguration>(Arrays.asList(
|
||||
new ServerConfiguration(
|
||||
"/",
|
||||
"",
|
||||
"No description provided",
|
||||
new HashMap<String, ServerVariable>()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user