Skip to content

fix: @name for recursion - #1948

Merged
sdghchj merged 3 commits into
swaggo:masterfrom
njacob1001:fix/nested-name-tag-behavior
Dec 20, 2024
Merged

sdghchj merged 3 commits into
swaggo:masterfrom
njacob1001:fix/nested-name-tag-behavior

Conversation

@njacob1001

@njacob1001 njacob1001 commented Dec 17, 2024 •

Copy link
Copy Markdown
Contributor

Describe the PR
Since this PR #1866 was merged, the tag @name doesn't work anymore for recursion, as you can see on this issue: #1909.

This PR is to use the new field schemaName in case of recursion

Relation issue
#1909

Additional context
Add any other context about the problem here.

@njacob1001 njacob1001 changed the title fix: restore @name parsing behavior fix: @name for recursion Dec 20, 2024
@sdghchj
sdghchj merged commit 2138705 into swaggo:master Dec 20, 2024
Thiht pushed a commit to Thiht/swag that referenced this pull request Feb 28, 2025
* restore: @name parsing behavior

* feat: add schema name if there is a recursion

Co-authored-by: njacob1001 <njacob1001@gmail.com>
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.

2 participants

⌂ 换网址