Skip to content

Commit

Permalink
fix 1336 with corrected start and stop annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
willr3 authored and stalep committed Feb 19, 2024
1 parent 514ccad commit 8d77ec8
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
public class ProtectedTimeType extends ProtectedType{
@NotNull
@JsonProperty(required = true)
@Schema(type = SchemaType.STRING, implementation = Instant.class,
description = "Run Start timestamp", example = "2019-09-26T07:58:30.996+0200")
@Schema(implementation = Instant.class, type = SchemaType.INTEGER, format = "int64",
description = "Run Start timestamp", example = "1704965908267")
public Instant start;
@NotNull
@JsonProperty(required = true)
@Schema(type = SchemaType.STRING, implementation = Instant.class,
description = "Run Stop timestamp", example = "2019-09-26T07:58:30.996+0200")
@Schema(implementation = Instant.class, type = SchemaType.INTEGER, format = "int64",
description = "Run Stop timestamp", example = "1704965908267")
public Instant stop;

public ProtectedTimeType() {}
Expand Down

0 comments on commit 8d77ec8

Please sign in to comment.