OpenAPI specification generator for Vapor based Swift projects
VaporToOpenAPI
VaporToOpenAPI is a Swift library which can generate output compatible with OpenAPI version 3.0.1 from Vapor code. You can use generated file in Swagger UI.
Description
This repository provides a declarative way to layout in SwiftUI-style
Installation
Create a Package.swift
file.
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "SomeProject",
dependencies: [
.package(url: "https://github.com/dankinsoid/VaporToOpenAPI.git", from: "1.0.0")
],
targets: [
.target(name: "SomeProject", dependencies: ["VaporToOpenAPI"])
]
)
$ swift build
Author
dankinsoid, voidilov@gmail.com
License
VaporToOpenAPI is available under the MIT license. See the LICENSE file for more info.