Skip to content

Writing Swagger to disk#25

Merged
djones6 merged 6 commits intoKitura:masterfrom
saiHemak:store-swagger
Aug 12, 2019
Merged

Writing Swagger to disk#25
djones6 merged 6 commits intoKitura:masterfrom
saiHemak:store-swagger

Conversation

@saiHemak
Copy link
Copy Markdown
Contributor

@saiHemak saiHemak commented May 8, 2019

Context and Description

Provide a method which writes the swagger to the disk at the specified location.

Copy link
Copy Markdown

@awadodeh awadodeh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Log.info("Registered OpenAPI definition on \(path)")
}

public static func writeOpenAPI(from router: Router, to filePath: String) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to throw on error.

@djones6 djones6 added the jazzy-doc When applied to a PR, instructs Package-Builder to regenerate the Jazzy documentation label Aug 6, 2019
@djones6 djones6 merged commit b9a5beb into Kitura:master Aug 12, 2019
@djones6 djones6 mentioned this pull request Aug 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jazzy-doc When applied to a PR, instructs Package-Builder to regenerate the Jazzy documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants