Skip to content

Instantly share code, notes, and snippets.

@BenjaminKlatt
Created February 14, 2021 09:50
Show Gist options
  • Save BenjaminKlatt/80f7547bfb3027d39c9869c3a8fc9cef to your computer and use it in GitHub Desktop.
Save BenjaminKlatt/80f7547bfb3027d39c9869c3a8fc9cef to your computer and use it in GitHub Desktop.
SpringDoc OpenAPI base information configuration
@OpenAPIDefinition(
info = @Info(
title = "API Roundtrip Demo (viadee.de)",
description = "An API showcase demonstrating how to automatically generate an openapi spec and client based on this.",
version = "0.1.0",
contact = @Contact(
name = "Cloud @viadee",
url = "https://www.viadee.de",
email = "[email protected]"),
license = @License(
name = "BSD 3-Clause License",
url = "https://github.com/viadee/api-roundtrip-spring-boot/blob/main/LICENSE")),
servers = @Server(url = "http://localhost:8080"))
class OpenAPIConfiguration {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment