kube-plex/vendor/github.com/googleapis/gnostic/plugins/gnostic-swift-generator
2020-08-13 16:32:33 +08:00
..
examples/bookstore Initial commit 2020-08-13 16:32:33 +08:00
Sources Initial commit 2020-08-13 16:32:33 +08:00
compile-protos Initial commit 2020-08-13 16:32:33 +08:00
Makefile Initial commit 2020-08-13 16:32:33 +08:00
Package.swift Initial commit 2020-08-13 16:32:33 +08:00
README.md Initial commit 2020-08-13 16:32:33 +08: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.