Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated XML Documentation File Not Working #31

Open
yatteer opened this issue Feb 24, 2020 · 1 comment
Open

Generated XML Documentation File Not Working #31

yatteer opened this issue Feb 24, 2020 · 1 comment

Comments

@yatteer
Copy link

yatteer commented Feb 24, 2020

Anyone else having issues with XML Documentation? The feature seems not to be working.
Azure Functions unable to locate XML file...

{
"version": "2.0",
"extensions": {
"Swashbuckle": {
"XmlPath": "Func.xml"
}
}
}

@eriktack
Copy link

In Azure functions v3, Its read from the current IConfiguration instance in the DI provider, not from host.json.
If you put it in this path in your config, it will be read:
"AzureWebJobs": {
"extensions": {
"Swashbuckle": {
"XmlPath": "your.api.xml.file.name.without.path.xml"
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants