spring-web-modules-kubernet.../api/src/main/kotlin/com/cubetiqs/web/model/response/ApiInfoResponse.kt

23 lines
719 B
Kotlin

package com.cubetiqs.web.model.response
import com.fasterxml.jackson.annotation.JsonInclude
import io.swagger.v3.oas.annotations.media.Schema
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "ApiInfoResponse", description = "ApiInfoResponse")
data class ApiInfoResponse(
val name: String,
val info: String,
val service: String,
val version: String,
val date: String,
val commit: String,
val hostname: String? = null,
val authors: Collection<ApiInfoAuthorResponse> = listOf(),
) : BaseRequestModel
@Schema(name = "ApiInfoAuthorResponse", description = "ApiInfoAuthorResponse")
data class ApiInfoAuthorResponse(
val name: String,
val email: String,
) : BaseRequestModel