main.io.github.smiley4.ktorswaggerui.data.ContactData.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ktor-swagger-ui Show documentation
Show all versions of ktor-swagger-ui Show documentation
Ktor plugin to document routes and provide a Swagger-UI
package io.github.smiley4.ktorswaggerui.data
/**
* See [OpenAPI Specification - Contact Object](https://swagger.io/specification/#contact-object).
*/
data class ContactData(
val name: String?,
val url: String?,
val email: String?
) {
companion object {
val DEFAULT = ContactData(
name = null,
url = null,
email = null
)
}
}