Compare commits
No commits in common. "ac91526bc6b75090d18c77cbf969ba282b8eb127" and "b3ce033bcf98f30bbf7b1931ddba32e7af479179" have entirely different histories.
ac91526bc6
...
b3ce033bcf
1
.github/workflows/build_deploy_dev.yml
vendored
1
.github/workflows/build_deploy_dev.yml
vendored
|
@ -32,7 +32,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
java-version: "22"
|
java-version: "22"
|
||||||
distribution: "temurin"
|
distribution: "temurin"
|
||||||
cache: maven
|
|
||||||
|
|
||||||
- name: Setup maven
|
- name: Setup maven
|
||||||
if: steps.maven-cache.outputs.cache-hit != 'true'
|
if: steps.maven-cache.outputs.cache-hit != 'true'
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
package com.learningpulse.dummy.config;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.models.OpenAPI;
|
|
||||||
import io.swagger.v3.oas.models.info.Contact;
|
|
||||||
import io.swagger.v3.oas.models.info.Info;
|
|
||||||
import io.swagger.v3.oas.models.servers.Server;
|
|
||||||
import org.springframework.context.annotation.Bean;
|
|
||||||
import org.springframework.context.annotation.Configuration;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
|
|
||||||
@Component
|
|
||||||
@Configuration
|
|
||||||
public class OpenAPIConfiguration {
|
|
||||||
@Bean
|
|
||||||
public OpenAPI dummyOpenAPI() {
|
|
||||||
return new OpenAPI()
|
|
||||||
.servers(
|
|
||||||
List.of(
|
|
||||||
new Server().url("https://lpdev.4o1x5.dev").description("Development server")
|
|
||||||
)
|
|
||||||
)
|
|
||||||
.info(new Info()
|
|
||||||
.title("Learning Pulse API documentation")
|
|
||||||
.version("0.0.1")
|
|
||||||
.description("This is the API documentation for the dummy microservice.")
|
|
||||||
.contact(new Contact()
|
|
||||||
.name("Learning Pulse")
|
|
||||||
.url("https://git.4o1x5.dev/LearningPulse"))
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
Reference in a new issue