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

Derive configuration rules from swagger files #32

Open
dmitrykrivaltsevich opened this issue Aug 17, 2017 · 1 comment
Open

Derive configuration rules from swagger files #32

dmitrykrivaltsevich opened this issue Aug 17, 2017 · 1 comment
Labels

Comments

@dmitrykrivaltsevich
Copy link
Collaborator

Leo Gallucci highlighted similarity in configuration files with securityDefinitions section of swager files:

securityDefinitions:
  oauth2:
    type: oauth2
    flow: password
    tokenUrl: https://auth.example.com/oauth2/access_token?realm=services
    scopes:
      my-awesome-service.my-resource.operation: Rights to perform operation on my-resource

Would be interesting to derive configuration files from swagger files and allow users to override or extend derived rules.

@elgalu
Copy link

elgalu commented Aug 17, 2017

Nice!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants