Ktor OpenAPI/Swagger 3 Generator
Toggle table of contents
1.0.81
jvm
Platform filter
jvm
Switch theme
Search in API
Ktor OpenAPI/Swagger 3 Generator
Ktor OpenAPI/Swagger 3 Generator
/
com.papsign.ktor.openapigen
/
APIException
/
Companion
Companion
object
Companion
(
source
)
Members
Types
APIException
Proxy
Link copied to clipboard
class
APIExceptionProxy
<
EX
:
Throwable
,
B
>
(
val
status
:
HttpStatusCode
,
val
exceptionClass
:
KClass
<
EX
>
,
val
example
:
B
?
=
null
,
val
contentType
:
KType
=
unitKType
,
val
contentGen
:
(
EX
)
->
B
?
=
null
)
:
APIException
<
EX
,
B
>
Functions
api
Exception
Link copied to clipboard
inline
fun
<
EX
:
Throwable
>
apiException
(
status
:
HttpStatusCode
)
:
APIException
<
EX
,
Unit
>
inline
fun
<
EX
:
Throwable
,
B
>
apiException
(
status
:
HttpStatusCode
,
example
:
B
?
=
null
,
noinline
gen
:
(
EX
)
->
B
?
=
null
)
:
APIException
<
EX
,
B
>