Skip to content

Commit

Permalink
Add schema to Project DTO
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalgrimaud committed Apr 17, 2022
1 parent 5d45883 commit 36342a3
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,18 @@ public class ProjectDTO {
private String folder;

@JsonProperty("generator-jhipster")
@Schema(description = "generator-jhipster configuration", required = true)
@Schema(
description = "generator-jhipster configuration",
example = """
{
"baseName": "jhipster",
"projectName": "jhipster project",
"packageName": "com.mycompany.myapp",
"serverPort": 8080
}
""",
required = true
)
private Map<String, Object> generatorJhipster;

public String getFolder() {
Expand Down

0 comments on commit 36342a3

Please sign in to comment.