Skip to content

Commit

Permalink
Object in request and response openapi v2 (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilmveel authored Aug 1, 2023
1 parent fcce6fd commit bc592f5
Show file tree
Hide file tree
Showing 5 changed files with 623 additions and 253 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package community.flock.wirespec.openapi

import community.flock.kotlinx.openapi.bindings.v3.Type
import community.flock.wirespec.compiler.core.emit.common.Emitter.Companion.firstToUpper

object Common {
fun className(vararg arg: String) = arg.joinToString("") { it.replaceFirstChar { it.uppercase() } }
fun className(vararg arg: String) = arg.joinToString("") { it.firstToUpper() }
}

Loading

0 comments on commit bc592f5

Please sign in to comment.