Swiftpack.co - Package - amzn/smoke-aws-generate

Build - Master Branch Linux Swift 4.1 Compatible Swift 4.2 Compatible Join the Smoke Server Side community on gitter Apache 2

SwiftAWSGenerate

SwiftAWSGenerate is a code generator for the SmokeAWS library.

Generate the SmokeAWS library

Step 1: Check out the SmokeAWS repository

Clone the SmokeAWS repository to your local machine.

Step 2: Check out this repository

Clone this repository to your local machine.

Step 3: Run the code generator

From within your checked out copy of this repository, run this command-

swift run -c release SmokeAWSGenerate \
  --base-file-path <path_to_the_smoke_aws_repository>

Generate a standalone API Gateway client package from a Swagger 2.0 specification file

You can also use this package to generate a stand-alone API Gateway client package from a Swagger 2.0 specification file. To do this you can run the following command-

swift run -c release APIGatewayClientGenerate \
  --base-file-path <output_file_path> \
  --base-name <base_client_name> \
  --model-path <file_path_to_model> \
 [--model-override-path <file_path_to_model_override>]

License

This library is licensed under the Apache 2.0 License.

Github

link
Stars: 3
Help us keep the lights on

Releases

0.4.1 - Apr 5, 2019

Use Smoke 1.x as dependencies for generated repositories.

0.4.0 - Apr 5, 2019

Conform to the updated ModelErrorsDelegate protocol.

0.3.0 - Apr 2, 2019

Use the stronger ModelErrorsDelegate protocol contract updated in https://github.com/amzn/service-model-swift-code-generate/releases/tag/0.3.0

Note: This is a breaking change as it changes the contract of the ModelErrorsDelegate protocol.

0.2.0 - Feb 20, 2019

Initial release of SmokeAWSGenerate.