fix: Remove print statements for examples (#318)
This commit is contained in:
@ -33,7 +33,6 @@ class RequestInfo private constructor(
|
|||||||
|
|
||||||
fun examples(vararg e: Pair<String, Any>) = apply {
|
fun examples(vararg e: Pair<String, Any>) = apply {
|
||||||
this.examples = e.toMap().mapValues { (_, v) -> MediaType.Example(v) }
|
this.examples = e.toMap().mapValues { (_, v) -> MediaType.Example(v) }
|
||||||
println(this.examples)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun build() = RequestInfo(
|
fun build() = RequestInfo(
|
||||||
|
@ -40,7 +40,6 @@ class ResponseInfo private constructor(
|
|||||||
|
|
||||||
fun examples(vararg e: Pair<String, Any>) = apply {
|
fun examples(vararg e: Pair<String, Any>) = apply {
|
||||||
this.examples = e.toMap().mapValues { (_, v) -> MediaType.Example(v) }
|
this.examples = e.toMap().mapValues { (_, v) -> MediaType.Example(v) }
|
||||||
println(this.examples)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun build() = ResponseInfo(
|
fun build() = ResponseInfo(
|
||||||
|
Reference in New Issue
Block a user