-
I have api docs being generated from my json swagger definitions. I'm trying to figure how to add a link to a specific swagger api to a documentation article. I looked in the xrefmap.yml file and I can find an entry with a UID for the specific endpoint however it is generated with spaces. - uid: Sandbox Framework API/2.8.0/UserProfile_UpdatePreferences
name: UserProfile_UpdatePreferences When I use this in an xref it does not resolve. Is there a way to work around this? I have also tried just hard coding the link into my document but this results in a warning that that link does not exist because it is generated at build time. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
As far as I've tested on my environment. Link to REST API page with Is it able to provide code that reproducible reported issue? |
Beta Was this translation helpful? Give feedback.
-
@filzrev It does not work if you want to change the link title. This works
but this does not
This results in Thanks for your help. |
Beta Was this translation helpful? Give feedback.
-
Thanks for providing example codes. I've confirmed this problem is resolved by using Examples links that works as expected
Examples not working
When using When using |
Beta Was this translation helpful? Give feedback.
Thanks for providing example codes.
I can confirmed that problem is reproduced when using
[title](xref:{uid})
syntax with UID that contain spaces.I've confirmed this problem is resolved by using
<xref:>
syntax or escaping URL.Examples links that works as expected
Examples not working
When using
xref:{uid}
syntax. It is treated as normal URL that havexref:
protocol.So if URL contains spaces.
[title](xref:uid)
will not be convert…