Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.

Solve XML documentation in Azure #5

Open
LockTar opened this issue Oct 31, 2019 · 2 comments
Open

Solve XML documentation in Azure #5

LockTar opened this issue Oct 31, 2019 · 2 comments

Comments

@LockTar
Copy link

LockTar commented Oct 31, 2019

Hi,

I know there is a known issue about the XML documentation in Azure.

I want to help. Do you know where the xml document is added. I think this is done in the RunOperationProcessorsAsync method. To be more specific, I think it is getting the xml document/path from the context right? So line:

var context = new OperationProcessorContext(document, operationDescription, staticAzureFunctionClassType,
                methodInfo, swaggerGenerator, Settings.SchemaGenerator, schemaResolver, Settings, allOperations);

Which setting is used for the XML file path? I can't find it.

@LockTar
Copy link
Author

LockTar commented Oct 31, 2019

I think the XML document is found via NSwag to another package called Namotion.Reflection. Opened a new issue there as well.

@mlinschulte
Copy link

Hi,
I am testing "NSwag.SwaggerGeneration.AzureFunctionsV2" at the moment and I am missing my xml comments at all in my generated swagger documentation.

I think the problem above is related to my issue, right? I could not get it to work locally or remotely so far.

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

No branches or pull requests

2 participants