You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Describe new client code generation Swagger features #8462
Should have mentioned in my original comment: The new feature will give end users many customization options. The documentation should cover MSBuild properties and item metadata they can set to affect code generation.
End users may also customize web sites that can generate API descriptions (as described in the next-level "Getting started with" pages). In this case, the optional settings control defaults for how a tool run from a consuming project will retrieve API descriptions.
You can now get an example of this working e2e using NSwag, but it isn't going to be completely RTM for 2.2. I think the best we can do here is start working on this doc first thing after the 2.2 ships as we will RTM it while we work on 3.0.
I'd love to see more docs around NSWAG for dotnetcore CI scenarios (msbuild preferably, but CLI would be ok).
Additionally, the problem details support such as what happens out of the box if anything, how should I set it up, how does OpenAPI and ApiExplorer learn from that, does NSWAG support this model, do I use the Extensions dictionary or inherit and add properties?
IMO these two experiences, along with docker work being done really empower micro-service design.
I'd love to see more docs around NSWAG for dotnetcore CI scenarios (msbuild preferably, but CLI would be ok).
I think we shouldn't add too much specific NSwag documentation here - just add links to the NSwag project wiki. This way it is much easier to keep the docs up-to-date and consistent...
changed the title [-]Describe new client code generation features (planned for 2.2 Preview 3)[/-][+]Describe new client code generation Swagger features[/+]on Jan 11, 2019
I was already in the process of writing an issue that this feature should be described in way more detail when I remembered this issue here. It would be good if readers of that page didn't get the idea that that's all that can be said about the feature.
@cremor the issue can be tied to at most one page. I created and closed #15165 - which shows up on the closed issues tab of that page. Feel free to edit that closed issue.
Also looking for some updated docs on this - is OpenApiReference the recommended way for automated generation within csproj, or should I be looking elsewhere?
Thank you for contacting us. Due to a lack of activity on this discussion issue we're closing it in an effort to keep our backlog manageable. If you believe there is a concern which hasn't been addressed, please file a new issue.
Activity
dougbu commentedon Sep 8, 2018
Should have mentioned in my original comment: The new feature will give end users many customization options. The documentation should cover MSBuild properties and item metadata they can set to affect code generation.
End users may also customize web sites that can generate API descriptions (as described in the next-level "Getting started with" pages). In this case, the optional settings control defaults for how a tool run from a consuming project will retrieve API descriptions.
glennc commentedon Nov 29, 2018
You can now get an example of this working e2e using NSwag, but it isn't going to be completely RTM for 2.2. I think the best we can do here is start working on this doc first thing after the 2.2 ships as we will RTM it while we work on 3.0.
aidapsibr commentedon Dec 6, 2018
I'd love to see more docs around NSWAG for dotnetcore CI scenarios (msbuild preferably, but CLI would be ok).
Additionally, the problem details support such as what happens out of the box if anything, how should I set it up, how does OpenAPI and ApiExplorer learn from that, does NSWAG support this model, do I use the Extensions dictionary or inherit and add properties?
IMO these two experiences, along with docker work being done really empower micro-service design.
RicoSuter commentedon Jan 11, 2019
I think we shouldn't add too much specific NSwag documentation here - just add links to the NSwag project wiki. This way it is much easier to keep the docs up-to-date and consistent...
[-]Describe new client code generation features (planned for 2.2 Preview 3)[/-][+]Describe new client code generation Swagger features[/+]13 remaining items
dougbu commentedon Jun 23, 2019
7c22abe gets us closer but need partner releases using the latest features to complete this work.
cremor commentedon Oct 17, 2019
Is there a way to get this issue to show up in the feedback section of Develop ASP.NET Core apps using OpenAPI tools?
I was already in the process of writing an issue that this feature should be described in way more detail when I remembered this issue here. It would be good if readers of that page didn't get the idea that that's all that can be said about the feature.
Rick-Anderson commentedon Oct 17, 2019
@cremor the issue can be tied to at most one page. I created and closed #15165 - which shows up on the closed issues tab of that page. Feel free to edit that closed issue.
jkone27 commentedon Aug 31, 2020
updates on this one? thorough and detailed documentation on OpenApiReference would be very much appreciated 👍
Tim-Hodge commentedon Nov 26, 2020
Also looking for some updated docs on this - is OpenApiReference the recommended way for automated generation within csproj, or should I be looking elsewhere?
Rick-Anderson commentedon Sep 29, 2022
Thank you for contacting us. Due to a lack of activity on this discussion issue we're closing it in an effort to keep our backlog manageable. If you believe there is a concern which hasn't been addressed, please file a new issue.