Updated code generator for Shuffle

This commit is contained in:
frikky
2020-06-14 18:40:55 +02:00
parent 76ce2bddee
commit d2d89d0bb9
6 changed files with 11 additions and 14 deletions
+1
View File
@@ -243,6 +243,7 @@ func buildStructure(swagger *openapi3.Swagger, curHash string) (string, error) {
}
// This function generates the python code that's being used.
// This is really meta when you program it. Handling parameters is hard here.
func makePythoncode(swagger *openapi3.Swagger, name, url, method string, parameters, optionalQueries, headers []string) (string, string) {
method = strings.ToLower(method)
queryString := ""