Skip to content
Snippets Groups Projects
Commit 339a568e authored by Tomáš Tomala's avatar Tomáš Tomala
Browse files

[Enh] Example ZonedDateTime

parent de48acab
No related branches found
No related tags found
2 merge requests!95[Enh] PlaneModule: Annotation fix, Endpoint parameter example,!92M3
......@@ -166,8 +166,8 @@ public class PlaneController extends DomainController<Plane, PlaneInsertDto, Pla
""")
@Parameter(in = ParameterIn.QUERY, name = "airlineID", schema = @Schema(type = "string", format = "uuid"))
@Parameter(in = ParameterIn.QUERY, name = "destinationID", schema = @Schema(type = "string", format = "uuid"))
@Parameter(in = ParameterIn.QUERY, name = "timeframeStart", schema = @Schema(type = "string"))
@Parameter(in = ParameterIn.QUERY, name = "timeframeEnd", schema = @Schema(type = "string"))
@Parameter(in = ParameterIn.QUERY, name = "timeframeStart", schema = @Schema(type = "string", example = "2023-08-08T20:00:30.113Z"))
@Parameter(in = ParameterIn.QUERY, name = "timeframeEnd", schema = @Schema(type = "string", example = "2023-08-09T22:30:45.113Z"))
@GetMapping("planes/unusedplanes") // URL mapping of this operation
@CrossOrigin(origins = "*") // CORS headers needed for JavaScript clients
public List<PlaneFindDto> getUnusedPlanes(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment