question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider enhancing the filter

See original GitHub issue

There’s a small section in the upstream OAS3 spec that talks about security-based filtering: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#security-filtering

It may be good for us to investigate if there’s anything the MP OpenAPI spec should say (or define) in terms of our own Filter. Should there be special treatment for Paths and PathItem, either at the filter interface or via fields / annotations?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
arthurdmcommented, Nov 25, 2019

yup, @EricWittmann has the correct idea.

With the current filter a developer needs to know two things in order to filter based on security:

  • the type of security the operation has defined (in terms of OAS3 spec)
  • the current user being used in the call to /openapi

The OAS3 security information should already be accessible via PathItem -> Operation -> SecurityRequirement, so perhaps one thing to investigate is making something like the javax.ws.rs.core.SecurityContext object available?

0reactions
arthurdmcommented, Feb 20, 2020

Closing this as per the concerns / comments above.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Consider 'Promoting' Important Product Filters (80% Don't)
Consider 'Promoting' Important Product Filters (80% Don't) · 1) Keep the promoted filtering values in the filtering sidebar in addition to at the ......
Read more >
Nine tips to help improve your product filtering options
Use filters to help solve problems. Most sites have filters for size and colour, but it can be useful to think of unique...
Read more >
9 Filtering Design Best Practices to Improve E-Commerce UX
Continually improve the user experience. Think of the filtering system on your site as another option for improving the UX site. Treat product ......
Read more >
Amazon Personalize expands the number of events ...
To increase the number of interactions considered by your filters, simply request a service quota increase via the Service Quota console.
Read more >
How Filters Improve Workplace Communication
As showed above, a filter is essentially the ability to adjust one's behavior to meet the needs of any given situation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found