-
Notifications
You must be signed in to change notification settings - Fork 103
Swagger Description inside Param extension for Security #1179
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
Conversation
|
@seran hi, should I review this PR, or are u still working on it? |
core/src/main/kotlin/org/evomaster/core/problem/api/param/Param.kt
Outdated
Show resolved
Hide resolved
| */ | ||
| "path" -> params.add(PathParam(name, CustomMutationRateGene("d_", gene, 1.0))) | ||
| "header" -> params.add(HeaderParam(name, gene)) | ||
| "header" -> params.add(HeaderParam(name, gene).apply { this.description = description }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this apply to all kinds of param? so could have the apply outside of the when
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are directly add the Param to the MutableList. So I added the description directly to other types also.
No description provided.