Skip to content

Commit

Permalink
Merge pull request #26081 from Tcharl/25132
Browse files Browse the repository at this point in the history
use OAS sdk requiredMode instead of deprecated api
  • Loading branch information
DanielFran authored May 9, 2024
2 parents 611be68 + 7cb1bf9 commit a86c2d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public class <%- dtoClass %> implements Serializable {
@NotNull
<%_ } _%>
<%_ if (property.propertyApiDescription) { _%>
@Schema(description = "<%- property.propertyApiDescription %>"<% if (required) { %>, required = true<% } %>)
@Schema(description = "<%- property.propertyApiDescription %>"<% if (required) { %>, requiredMode = Schema.RequiredMode.REQUIRED<% } %>)
<%_ } _%>
<%_ if (property.fieldTypeBytes && databaseTypeSql) { _%>
@Lob
Expand Down

0 comments on commit a86c2d6

Please sign in to comment.