diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/OpenAPIConfiguration.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/OpenAPIConfiguration.java new file mode 100644 index 00000000..d16f0ec6 --- /dev/null +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/OpenAPIConfiguration.java @@ -0,0 +1,30 @@ +package de.tum.in.www1.hephaestus; + +import org.springframework.context.annotation.Configuration; + +import io.swagger.v3.oas.annotations.OpenAPIDefinition; +import io.swagger.v3.oas.annotations.info.Contact; +import io.swagger.v3.oas.annotations.info.Info; +import io.swagger.v3.oas.annotations.info.License; +import io.swagger.v3.oas.annotations.servers.Server; + +@Configuration +@OpenAPIDefinition( + info = @Info( + title = "Hephaestus API", + description = "API documentation for the Hephaestus application server.", + contact = @Contact( + name = "Felix T.J. Dietrich", + email = "felixtj.dietrich@tum.de" + ), + license = @License( + name = "MIT License", + url = "https://github.com/ls1intum/Hephaestus/blob/develop/LICENSE" + ) + ), + servers = { + @Server(url = "/", description = "Default Server URL"), + } +) +public class OpenAPIConfiguration { +} \ No newline at end of file