Skip to content

Commit

Permalink
add OpenAPI config
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixTJDietrich committed Jul 30, 2024
1 parent c7c1660 commit 0d8330c
Showing 1 changed file with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]"
),
license = @License(
name = "MIT License",
url = "https://github.com/ls1intum/Hephaestus/blob/develop/LICENSE"
)
),
servers = {
@Server(url = "/", description = "Default Server URL"),
}
)
public class OpenAPIConfiguration {
}

0 comments on commit 0d8330c

Please sign in to comment.