NSwagRunner.

FromSwaggerSpecification(FilePath) Method

Summary

Parses a Swagger (Open API) specification for API metadata
Assembly
Cake.NSwag.dll
Namespace
Cake.NSwag
Containing Type
NSwagRunner

Syntax

public SwaggerSource FromSwaggerSpecification(FilePath specificationFilePath)

Parameters

Name Type Description
specificationFilePath FilePath Path to the JSON definition file

Return Value

Type Description
SwaggerSource A metadata source for the given API spec