Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Swagger: Allow to configure security keyword #88

Closed
copa2 opened this issue Jun 20, 2018 · 3 comments
Closed

Swagger: Allow to configure security keyword #88

copa2 opened this issue Jun 20, 2018 · 3 comments
Milestone

Comments

@copa2
Copy link
Contributor

copa2 commented Jun 20, 2018

Currently it is possible to configure the securityDefinitions. Allow additionally to configure security on root level. This will be valid for all operations on the API.

see https://swagger.io/docs/specification/2-0/authentication/

You use securityDefinitions to define all authentication types supported by the API, then use security to apply specific authentication types to the whole API or individual operations.

@gigaSproule gigaSproule added this to the 1.0.6 milestone Jun 20, 2018
@gigaSproule
Copy link
Owner

Again, as with the others, feel free to raise a PR if you have the time, otherwise I will get to this ASAP.

@copa2
Copy link
Contributor Author

copa2 commented Jun 22, 2018

Will try to provide a PR next week

@gigaSproule
Copy link
Owner

Merged in the PR

@gigaSproule gigaSproule modified the milestones: 1.0.6, 1.0.5 Sep 11, 2018
copa2 pushed a commit to copa2/swagger-gradle-plugin that referenced this issue Sep 15, 2018
…global-security-2

Add support to define security globally
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants