Skip to content

Commit

Permalink
Merge pull request #1380 from pascalgrimaud/project-dto-schema
Browse files Browse the repository at this point in the history
Add schema to Project DTO
  • Loading branch information
pascalgrimaud authored Apr 17, 2022
2 parents 5d45883 + 36342a3 commit 4649efb
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 4649efb

Please sign in to comment.