We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4291a88 commit 513de48Copy full SHA for 513de48
examples/src/main/kotlin/io/github/smiley4/ktoropenapi/examples/CompleteConfig.kt
@@ -220,6 +220,14 @@ private fun Application.myModule() {
220
url = "example.com/hello"
221
description = "external documentation of 'hello'-route"
222
}
223
+ extensions = mapOf(
224
+ "x-custom-extension" to "custom-value",
225
+ "x-another-extension" to mapOf(
226
+ "nested" to "value",
227
+ "number" to 42
228
+ ),
229
+ "x-simple-flag" to true
230
+ )
231
request {
232
queryParameter<String>("name") {
233
description = "the name to greet"
0 commit comments