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

Support Markdown Style Formatting for Spec File Endpoint Descriptions #779

Closed
KGroninger opened this issue Dec 5, 2024 · 3 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@KGroninger
Copy link

Context

Today, no styling is supported for API endpoint descriptions within the API Explorer. This makes it difficult to provide detailed descriptions of API endpoint functions, and because formatting is not supported, we also cannot hyperlink out to other pages for detailed descriptions.

The Description section should allow the same formatting as supported for request and response parameters, including line breaks, itemized lists, bold/italic text, and hyperlinks.

Solution

The API endpoint description supports the same markdown content formatting as the request/response params.

Alternatives

N/A

Additional Context

No response

Region

No response

@KGroninger KGroninger added the enhancement New feature or request label Dec 5, 2024
@minh-pham1
Copy link
Contributor

We don't process yaml files with markdown syntax, however basic HTML tags should still work.

@minh-pham1 minh-pham1 self-assigned this Dec 5, 2024
@KGroninger
Copy link
Author

KGroninger commented Dec 5, 2024

@minh-pham1 we currently use a mix of markdown and html styling in the parameter descriptions in the spec file, and both work (for example, here we have the code html tag, but it also works if we use the markdown syntax wrapping content in backticks (`) instead).

Neither method works in the endpoint description.

For example:

secureexemption spec file
secureexemption ui

@KGroninger
Copy link
Author

@minh-pham1 I experimented with HTML formatting in the endpoint/path description, and yeah it seems like all of the formatting I was looking for works well in HTML, so I think we can close this ticket.

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

No branches or pull requests

2 participants