Skip to content
Shweta Patil edited this page May 1, 2018 · 26 revisions

Welcome to the OpenAPI.NET C# Annotation Document Generator wiki!

Introduction

OpenAPI.NET C# Document Generator utilizes native VS XML annotations to construct the OpenAPI document for the service.

First, make sure that you have enabled your XML annotations for your project to be dropped as part of the Build output. This XML file is needed as an input to the C# Comment Reader.

To do so, in Visual Studio, right click on your project and Select Properties. Then choose the Build tab, scroll down to Output section and ensure that XML documentation file is checked. Set the file path to: bin\[YourServiceName].XML or another file path of your choosing.

Annotation Guides

You can’t perform that action at this time.