Are XML documentation tags not being handled by Web API 2 help pages?
Asked Answered
E

1

7

I'm trying to use <see cref=""> tags in my XML documentation tags for my API, but they are coming up blank in the Help pages.

So, for a Description I'd like it to say:

"Gets or sets the value for the associated Item."

Where Item is a link to another object in the API.

Instead, I'm getting:

"Gets or sets the value for the associated ."

So the <see cref=""> tag is being ignored. I've even tried using examples from here just in case my declaration was wrong, but that didn't work either.

Has anybody else had issues with this? To what level are XML documentation tags supported in the new Web API 2 Help Pages? Does anybody know if it's possible to add support for this manually, if not?

Evangelina answered 10/4, 2014 at 10:27 Comment(2)
We do have the same issue, but all blog posts around this topic seemed to be outdated.Student
I outline a way of doing this at #26177604Reconcilable
P
0

I haven't had issues with this, but I suggest you

  • Post a simple sample that illustrates the behavior, together with the result you obtain

  • Check for build warnings that might indicate problems with your XML documentation tags.

For example, you say you're using <see cref=""> Are you putting a valid identifier in the cref attribute and closing the see tag - e.g. <see cref="MyClass.MyMethod" />?

Protozoon answered 10/4, 2014 at 11:12 Comment(1)
Hey Joe, we have the same issue and it seems that other people are seeing this also. In case you have any hints on where to start?Student

© 2022 - 2024 — McMap. All rights reserved.