swagger-api / swagger-api/swagger-codegen
[JavaSpring] Access securityDefinitions in mustache file
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
I'm trying to access securityDefinitions tag in mustache file. Is it possible at all? I've tried to use codegen-cli to list all possible properties but I can not see there securityDefinitions. I need it to update springfox configuration with api key mustache.
Swagger-codegen version
2.3.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with codegen-cli in Swagger Codegen 2.3.1 and inspect how the securityDefinitions property is exposed to Mustache templates. Compare that context with the springfox configuration and API-key Mustache template described in the issue. Done means determining whether the tag is available and documenting or implementing the required template access.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100