diff options
Diffstat (limited to 'server/swagger')
-rw-r--r-- | server/swagger/src/main/kotlin/moe/nea/ledger/server/core/api/OpenApiModel.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/swagger/src/main/kotlin/moe/nea/ledger/server/core/api/OpenApiModel.kt b/server/swagger/src/main/kotlin/moe/nea/ledger/server/core/api/OpenApiModel.kt index 8392c5c..af9d3f4 100644 --- a/server/swagger/src/main/kotlin/moe/nea/ledger/server/core/api/OpenApiModel.kt +++ b/server/swagger/src/main/kotlin/moe/nea/ledger/server/core/api/OpenApiModel.kt @@ -52,6 +52,7 @@ data class OpenApiParameter( val name: String, val description: String, val schema: JsonSchema?, + val required: Boolean = true, ) @Serializable |