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

Fixes Issue 1829 #1830

Merged
merged 2 commits into from
Jul 1, 2024
Merged

Conversation

Kafkalasch
Copy link
Contributor

Describe the PR
Fixes the issue described in #1829

Relation issue
#1829

Additional context
The previous logic could select the wrong markdown file if one tag was a substring of another. E.g. "objects" and "my-special-objects".

sdghchj
sdghchj previously approved these changes Jun 20, 2024
Copy link
Member

@sdghchj sdghchj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sdghchj
Copy link
Member

sdghchj commented Jun 20, 2024

Hi, you have to fix the failed tests,TestParseDescriptionMarkdown and there may be others.

@sdghchj sdghchj self-requested a review June 21, 2024 08:27
@sdghchj sdghchj dismissed their stale review June 21, 2024 08:29

tests need to be fixed

@Kafkalasch
Copy link
Contributor Author

@sdghchj , have fixed the tests. They have actually caught an issue that would have been introduced. Now I also understand why the code was written like that in the first place. It needs to understand "api" and "api.md". Fixed it, to be able to deal with both inputs.

Your review has been dismissed I think, could you re-review or re-approve?

@sdghchj sdghchj merged commit 697572a into swaggo:master Jul 1, 2024
10 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants