All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ancientlightstudios.quarkus.kotlin.openapi.models.transformed.Request.kt Maven / Gradle / Ivy

There is a newer version: 0.4.14
Show newest version
package com.ancientlightstudios.quarkus.kotlin.openapi.models.transformed

import com.ancientlightstudios.quarkus.kotlin.openapi.models.openapi.RequestMethod
import com.ancientlightstudios.quarkus.kotlin.openapi.models.openapi.ResponseCode
import com.ancientlightstudios.quarkus.kotlin.openapi.models.transformed.name.MethodName
import com.ancientlightstudios.quarkus.kotlin.openapi.models.transformed.typedefinition.TypeDefinitionUsage

data class Request(
    val name: MethodName, val path: String, val method: RequestMethod,
    val parameters: List, val body: TypeDefinitionUsage?,
    val responses: List>,
    val additionalInformation: AdditionalInformation
) {

    fun hasInputData() = parameters.isNotEmpty() || body != null

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy