|
|
%!s(int64=7) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| Sources | 3f3a48712d commit all dependencies | %!s(int64=7) %!d(string=hai) anos |
| Templates | 3f3a48712d commit all dependencies | %!s(int64=7) %!d(string=hai) anos |
| examples | 3f3a48712d commit all dependencies | %!s(int64=7) %!d(string=hai) anos |
| Makefile | 3f3a48712d commit all dependencies | %!s(int64=7) %!d(string=hai) anos |
| Package.swift | 3f3a48712d commit all dependencies | %!s(int64=7) %!d(string=hai) anos |
| README.md | 3f3a48712d commit all dependencies | %!s(int64=7) %!d(string=hai) anos |
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.