openapi-tools / swagger-maven-plugin

Maven plugin to activate the Swagger Core library to generate OpenAPI documentation.
MIT License
70 stars 45 forks source link

Allow definition on "security" or enable inclusion of parent openapi definition #46

Closed cljk closed 3 years ago

cljk commented 4 years ago

Is your feature request related to a problem? Please describe. My API definition should contain reference to the used API key like

security:
- ApiKeyAuth: []

...

  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: X-API-KEY
      in: header

This seems not to be possible with the current plugin.

Describe the solution you'd like Possible solutions - I like both ;-)

wanno-drijfhout commented 3 years ago

Should be solved with in #53

langecode commented 3 years ago

53 (replaced by #58) will be included in next release (this week).