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

AppendAuthorizeToSummaryOperationFilter - Styling #123

Open
BloodSeaker opened this issue Nov 27, 2019 · 1 comment
Open

AppendAuthorizeToSummaryOperationFilter - Styling #123

BloodSeaker opened this issue Nov 27, 2019 · 1 comment

Comments

@BloodSeaker
Copy link

Hi,

We are using your filter as described in the subject. We do notive that it is just 'pasted' after the description. This is working of course, but just not that clear.
Some suggestions would be to add a
in front of it, so the policy description is always on a new line. Not sure if SwaggerUI is allowing that, but merely a suggestion.
Also, isn't there a way to have it shown in the 'lock' icon pop-up when that one is clicked? Currently that is empty, but it would be the ideal place to have it listed

@mattfrear
Copy link
Owner

Hi
I did play with the styling a little bit when I last used this filter... I think it didn't look as good to have the policy on a newline. I haven't actually used this filter for a couple of years. Looking at it, I think I wrote that filter before I knew how to define the authentication properly (i.e. to get the lock icon next to an API action). Yeah, it would be nice to have the auth info on the lock icon, but that is controlled by swagger-ui so I don't know if it's possible - it might be.

Like I say, I haven't used this filter in a couple of years, and I don't have much free time these days, so I'm not going to play around with it. I'll leave this issue open for now so that if you or anyone else in "the community" wants to submit a PR, you are welcome to do so.

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

2 participants