-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update OpenAPIDefinition description
- Loading branch information
Showing
1 changed file
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,19 +12,22 @@ | |
import jakarta.ws.rs.sse.SseEventSink; | ||
import nl.bertriksikken.geojson.FeatureCollection; | ||
|
||
import java.net.URISyntaxException; | ||
import java.util.Optional; | ||
|
||
@OpenAPIDefinition( | ||
info = @Info( | ||
title = "Verkeersdrukte", | ||
description = "Provides near real-time speed/intensity data for motorways in the Netherlands", | ||
contact = @Contact(name = "Bertrik Sikken", email = "[email protected]")), | ||
info = @Info( | ||
title = "Verkeersdrukte", | ||
description = "Provides near real-time speed/intensity traffic data for motorways in the Netherlands," | ||
+ " based on open data from Nationaal Dataportaal Wegverkeer ( https://opendata.ndw.nu/ )", | ||
contact = @Contact(name = "Bertrik Sikken", email = "[email protected]")), | ||
servers = {@Server(url = "https://stofradar.nl"), @Server(url = "http://stofradar.nl:9002")}, | ||
tags = {@Tag(name = "static"), @Tag(name = "dynamic")}) | ||
tags = { | ||
@Tag(name = "static", description = "location data"), | ||
@Tag(name = "dynamic", description = "traffic data, intensity (vehicles/hour) and speed (km/hour)") | ||
}) | ||
public interface IVerkeersDrukteResource { | ||
@Operation(hidden = true) | ||
void redirectSwagger() throws URISyntaxException; | ||
void redirectSwagger(); | ||
|
||
@Operation(summary = "Get GeoJSON containing all locations") | ||
@Tag(name = "static") | ||
|