forked from swagger-api/swagger-codegen
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Faiçal Tchirou edited this page Nov 13, 2016
·
1 revision
- $ git clone git@github.com:ConnectCorp/swagger-codegen.git
- $ cd swagger-codegen
- $ git checkout develop
- $ ./gradlew assemble
java -jar modules/swagger-codegen-cli/build/libs/swagger-codegen-cli-2.1.6-SNAPSHOT.jar \
-i <swagger_spec_filepath_or_url> \
--additional-properties <prop1=value1[,prop2=value2]*>
-l LoopBackSwift \
-o <output_folder>
-
projectNamethe name of the project, also the name of the folder where the generated files are copied and the name of the resulting pod. Defaults toLoopBackSwiftClient.
-
generateDataAPIa boolean (true|false) which specifies whether to generate a generic data API. Defaults tofalse.
-
useRealma boolean (true|false) which specifies whether the models should inheritObjectfrom Realm. Defaults tofalse. -
realmPrimaryKeythe name of the property which should be used as primary key in case the models inherit Realm'sObject. Defaults toid.
-
projectVersionthe version of the resulting pod. There should be a tag which name isprojectVersionin the git repo which will host the generated code. projectAuthors-
projectHomepagea publicly accessible homepage. projectSummary-
projectSourcethe git repo which will host the generated code. -
projectLicensedefaults toThe MIT License (MIT)
projectLicenseYearprojectLicenseCopyright