-
-
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
DefaultUrlTemplate not picking up areas in .Net Core #898
Comments
The placeholder {area} is not supported... how is this retrieved? Ref: https://docs.microsoft.com/en-us/aspnet/core/mvc/controllers/areas |
I don't have DefaultUrlTemplate... |
DefaultUrlTemplate is legacy and is not available anymore. Spec can be configured in AddOpenApiDocument(, in UseSwaggerUi3( you specify the ui configs |
Closed as not relevant anymore (part of asp generator which should not be used for asp net core) |
Legacy, obsolete, ok, but was replaced by...? How I can change it now? How to map API endpoints by action name (to be able to run Swagger without duplicates) and still able to call this same action with In In recent vesion of NSwagStudio (13.6.1.0) I can still see this option, so this looks like not obsolete...: Swagger/NSwag have really bad documentation and comments like this "it is legacy, closing without helping" is really bad too. People must spend hours to research Internet and trying 50 different solutions to change simple things. Pushing release tag without any changelog is really stupid IMHO. Where is changelog/braking changes here: https://github.com/RicoSuter/NSwag/releases??? I can't even check and compare commits between versions... |
For ASP.NET Core project you should use the "ASP.NET Core via API Explorer" tab and not the "old" ASP.NET generator. |
http://rsuter.com/Projects/NSwagStudio/installer.php download URL not working anymore... |
Its gone until the build is through, works for me now |
Hi,
My config is defined as:
But the generated swagger.json file outputs the routes without the area eg
api/pet/findByTags
Where I'm expecting
api/staff/pet/findByTags
The text was updated successfully, but these errors were encountered: