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:
Kuzma
2021-01-25 08:32:39 +03:00
committed by GitHub
parent c5d4dc6d10
commit 57227e510f
4 changed files with 57 additions and 6 deletions

View File

@@ -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>()
)