adrian-gomez / swaggard

Add Swagger documentation to your Rails REST endpoints.
MIT License
54 stars 39 forks source link

Missing security definitions in json #48

Open johan-smits opened 4 years ago

johan-smits commented 4 years ago

When using only the json you miss the securityDefinitions when you define https://github.com/adrian-gomez/swaggard#authentication

Looking into the code these config variable are only used in the html generator. Can they also be exposed in the json?

Documentation on this: https://swagger.io/docs/specification/2-0/authentication/