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

Export security defs #9

Merged
merged 5 commits into from
Nov 16, 2016
Merged

Conversation

jacobemerick
Copy link
Contributor

Adds securityDefinitions and per-operation security attributes for 'Basic Auth'. Also adds a test based off the basicAuth example.

Note: not sure how this works with other types of security because my use case doesn't include them ;)

Using Swagger::toArray to return a generated swagger doc results
in a missing security definitions. Not sure if this method is
meant for something special, but this behavior is stripping out
important data for my integration.
@gossi gossi merged commit 38d99ba into phpowermove:master Nov 16, 2016
@gossi
Copy link
Collaborator

gossi commented Nov 16, 2016

Will use this as a start and add further security definitions as mentioned in the specs. Also a little more customizations to play well with the rest of the API of this lib (e.g. collections).

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

Successfully merging this pull request may close these issues.

None yet

2 participants