Azure / Azure/Azure-Functions

Auto generation for OpenAPI json file from function app in VS2017

Open
#394 13 comments 8 reactions 1 assignee Claimed by @alexkarcher-msft View on GitHub
feature:openapi
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

Hi,

I am developing Azure Functions in VS2017 5.13 (Preview) and I would like to generate project documentation from the swagger json file which i generated from azure portal. Since visual studio 2017 doesn’t generate the file, so I got the initial file from azure portal and copied over into my project under swagger folder. I want to re-generate this file when the code is updated automatically.

Also, i updated host.json file by enabling swagger but the json file doesn't get updated as i add or change functions.

```
{
"swagger": {
"enabled": true
}
}

```
Is there official walkthrough on how to integrate swagger json file to generate documentations from code in VS 2017?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.