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

NSwag 14.2.0 with .NET 8.0 web Api hosted on Service Fabric throws FabricConnectionDeniedException #5074

Open
raghavanmv opened this issue Dec 23, 2024 · 0 comments

Comments

@raghavanmv
Copy link

raghavanmv commented Dec 23, 2024

Swag command line tool for .NET Core Net80, toolchain v14.2.0.0 (NJsonSchema v11.1.0.0 (Newtonsoft.Json v13.0.0.0))
1>Visit http://NSwag.org for more information.
1>NSwag bin directory: C:\Users\AXDDW-Admin.nuget\packages\nswag.msbuild\14.2.0\tools\Net80
1>
1>Executing file 'nswag.json' with variables ''...
1>Launcher directory: C:\Users\AXDDW-Admin.nuget\packages\nswag.msbuild\14.2.0\tools\Net80
1>System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
1> ---> System.Fabric.FabricConnectionDeniedException: Not authorized to connect.

Version used
14.2.0
With which version did you encounter this behavior.
14.2.0

Expected behavior
swagger.json should be generated

Additional context
This happens while running a post build event and even occurs while running with a local Service Fabric Cluster

Add any other context about the problem here.

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

No branches or pull requests

1 participant