ceph-csi/vendor/github.com/googleapis/gnostic/plugins/gnostic-swift-generator
Serguei Bezverkhi 7b24313bd6 vendor files
2018-01-10 13:42:26 -05:00
..
examples/bookstore vendor files 2018-01-10 13:42:26 -05:00
Sources vendor files 2018-01-10 13:42:26 -05:00
compile-protos vendor files 2018-01-10 13:42:26 -05:00
Makefile vendor files 2018-01-10 13:42:26 -05:00
Package.swift vendor files 2018-01-10 13:42:26 -05:00
README.md vendor files 2018-01-10 13:42:26 -05:00

OpenAPI Swift Generator Plugin

This directory contains an openapic plugin that can be used to generate a Swift client library and scaffolding for a Swift server for an API with an OpenAPI description.

The plugin can be invoked like this:

openapic bookstore.json --swift_generator_out=Bookstore

Where Bookstore is the name of a directory where the generated code will be written.

Both client and server code will be generated.

For example usage, see the examples/bookstore directory.

HTTP services are provided by the Kitura library.