Closed vishalpatel-te closed 1 year ago
@vishalpatel-te , I'll check and come back to you asap. Thanks!
@vishalpatel-te , hello! Could you please elaborate more on this statement? "In .Net6, if we are using Bearer token for authentication, the Hub shows no documentation under authorize attribute." What do you mean by "under authorize attribute"? As for specifying security scheme, I'm working on it and soon will make a release.
@Dorin-Mocan I meant something like following:
@vishalpatel-te , I am sorry, but I do not get what you mean. Please share more details(some code maybe, bigger screenshots, etc.). Thank you!
@vishalpatel-te , I released some time ago a new version that allows specifying a security scheme.
Is it possible to define the security scheme for the swagger? Instead of hard coding to basic, perhaps a parameter on SignalRHubAttribute to specify? https://github.com/Dorin-Mocan/SignalRSwaggerGen/blob/f400c31d6bd130618cdb650192bdf6caa87acfce/SignalRSwaggerGen/SignalRSwaggerGen/SignalRSwaggerGen.cs#L134
In .Net6, if we are using Bearer token for authentication, the Hub shows no documentation under authorize attribute.