-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Bug]: The annotation of the field parameter using FromForm in the interface is not displayed #3018
Comments
Sorry, I don't understand what you're trying to explain is broken here. |
So you're expecting the XML documentation for those parameters to be present as the How are you configuring XML documents to be added to the OpenAPI document? Do they appear in other places you'd expect them to be? |
So you're expecting the XML documentation for those parameters to be present as the description on the parameters in the OpenAPI specification? Do they appear in other places you'd expect them to be? The old version was OK, but not after the upgrade. |
From which version to which version? |
ApiDemo.zip |
@martincostello Can you Help me? |
This is a bug - it has never worked. |
Also, FWIW, your repo is using Swashbuckle.AspNetCore 6.4.0 which is 2 years old. If you experience an issue, please try the latest version before reporting an issue in case it has since been fixed. |
- Fix form parameters not being annotated with XML documentation. - Refactor filter to use modern C# and be slightly more efficient. - Remove commented-out code in test controller. Resolves domaindrivendev#3018.
Yes, I already tried it with the latest version before I posted the comment. We don't be back-porting any fixes to old versions of Swashbuckle like v5. The fix will be in future versions only. |
When will 6.7.1 be released, we want to use it as soon as possible |
I don't know exactly when. It depends on when other contributors review and approve the PRs open against that milestone. |
Okay, thank you so much for your support |
Re-opening it as it's an active issue (that others can find more easily) until the fix is shipped. |
Version 6.7.1 is now available from NuGet.org which resolves this issue. |
@martincostello So far, only the first parameter has been described, but the others are not |
That is a different issue: #2062 The first form parameter is being used to describe the request body as a whole (which on reflection is probably incorrect if there are multiple properties, which is another issue caused by the fix for this issue: #3038). Separately, the members of the request are not being documented at all, which is the issue above. |
What are you wanting to achieve?
The annotation of the field parameter using FromForm in the interface is not displayed
What code or approach do you have so far?
no
Additional context
No response
The text was updated successfully, but these errors were encountered: