generated from 2martens/template-service
Improved documentation of enum fields
This commit is contained in:
parent
6774035fcd
commit
cdba815c32
|
@ -49,7 +49,8 @@ public class Meeting {
|
||||||
@Schema(description = "name of the meeting")
|
@Schema(description = "name of the meeting")
|
||||||
private final String name;
|
private final String name;
|
||||||
|
|
||||||
@Schema(description = "current status of the meeting", allowableValues = "terminiert, eingeladen, durchgeführt", nullable = true)
|
@Schema(type = "string", description = "current status of the meeting",
|
||||||
|
allowableValues = "terminiert | eingeladen | durchgeführt", nullable = true)
|
||||||
private final MeetingState meetingState;
|
private final MeetingState meetingState;
|
||||||
|
|
||||||
@Schema(description = "True if this meeting was cancelled")
|
@Schema(description = "True if this meeting was cancelled")
|
||||||
|
|
|
@ -71,8 +71,8 @@ public class Organization {
|
||||||
@Schema(description = "URL to a parent organization", nullable = true)
|
@Schema(description = "URL to a parent organization", nullable = true)
|
||||||
private final String subOrganizationOf;
|
private final String subOrganizationOf;
|
||||||
|
|
||||||
@Schema(description = "rough categorization of the organization", nullable = true,
|
@Schema(type = "string", description = "rough categorization of the organization", nullable = true,
|
||||||
allowableValues = "Gremium, Partei, Fraktion, Verwaltungsbereich, externes Gremium, Institution, Sonstiges")
|
allowableValues = "Gremium | Partei | Fraktion | Verwaltungsbereich | externes Gremium | Institution | Sonstiges")
|
||||||
private final OrganizationType organizationType;
|
private final OrganizationType organizationType;
|
||||||
|
|
||||||
@Schema(description = "type of organization", nullable = true)
|
@Schema(description = "type of organization", nullable = true)
|
||||||
|
|
Loading…
Reference in New Issue