mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 01:12:43 +00:00
updated to use case classes, removed swagger-core deps
This commit is contained in:
@@ -134,7 +134,7 @@ class PetApi(object):
|
||||
|
||||
|
||||
|
||||
def findPetsByStatus(self, status, **kwargs):
|
||||
def findPetsByStatus(self, status= None, **kwargs):
|
||||
"""Finds Pets by status
|
||||
|
||||
Args:
|
||||
|
||||
@@ -27,6 +27,6 @@ object PythonPetstoreCodegen extends BasicPythonGenerator {
|
||||
|
||||
override def supportingFiles = List(
|
||||
("__init__.mustache", destinationDir, "__init__.py"),
|
||||
("swagger.mustache", destinationDir + File.separator + apiPackage.get, "swagger.py"),
|
||||
("__init__.mustache", destinationDir + File.separator + modelPackage.get, "__init__.py"))
|
||||
("swagger.mustache", destinationDir + File.separator + apiPackage.getOrElse(""), "swagger.py"),
|
||||
("__init__.mustache", destinationDir + File.separator + modelPackage.getOrElse(""), "__init__.py"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user