Skip to content

Commit

Permalink
Update OpenAPIDefinition description
Browse files Browse the repository at this point in the history
  • Loading branch information
bertrik committed Mar 30, 2024
1 parent 27b0a68 commit 4461d30
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 4461d30

Please sign in to comment.