ad-on-is / adonis-autoswagger

Auto-Generate swagger docs for AdonisJS
MIT License
97 stars 32 forks source link

Token header with other type not Bearer #74

Closed Bruno-Alvim-Duarte closed 2 months ago

Bruno-Alvim-Duarte commented 2 months ago

We can't change the type of the token header, it is defined Bearer and can't change the securityDefinitions to apiKey for example

ad-on-is commented 2 months ago

Fixed in 3.13.0

See modified docs for further information, especially defaultSecurityScheme and securitySchemes

Bruno-Alvim-Duarte commented 2 months ago

Right, i was in the 3.11 version haven't seen that. Thank you

ad-on-is commented 2 months ago

And I pushed the feature in 3.13 after you submitted the issue... so there was nothing to see until then 😅

Bruno-Alvim-Duarte commented 2 months ago

Oh, right so thanks for the correction in the new version :smile: