This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.NSwag.
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 |