-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ramesh Fadatare
authored and
Ramesh Fadatare
committed
Mar 17, 2023
1 parent
668dcf0
commit 875b7bc
Showing
4 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...ices/src/main/java/net/javaguides/springboot/SpringbootRestfulWebservicesApplication.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,36 @@ | ||
package net.javaguides.springboot; | ||
|
||
import io.swagger.v3.oas.annotations.ExternalDocumentation; | ||
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 org.modelmapper.ModelMapper; | ||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.context.annotation.Bean; | ||
|
||
@SpringBootApplication | ||
@OpenAPIDefinition( | ||
info = @Info( | ||
title = "Spring Boot REST API Documentation", | ||
description = "Spring Boot REST API Documentation", | ||
version = "v1.0", | ||
contact = @Contact( | ||
name = "Ramesh", | ||
email = "[email protected]", | ||
url = "https://www.javaguides.net" | ||
), | ||
license = @License( | ||
name = "Apache 2.0", | ||
url = "https://www.javaguides.net/license" | ||
) | ||
), | ||
externalDocs = @ExternalDocumentation( | ||
description = "Spring Boot User Management Documentation", | ||
url = "https://www.javaguides.net/user_management.html" | ||
) | ||
) | ||
public class SpringbootRestfulWebservicesApplication { | ||
|
||
@Bean | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters