-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1514 from kameshsr/MOSIP-34016-2
Mosip-34016 Merge java 21 changes to develop
- Loading branch information
Showing
11 changed files
with
175 additions
and
163 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
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
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
2 changes: 1 addition & 1 deletion
2
.../src/main/java/io/mosip/testrig/authentication/demo/service/config/BioProviderConfig.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
45 changes: 45 additions & 0 deletions
45
.../src/main/java/io/mosip/testrig/authentication/demo/service/config/OpenApiProperties.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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package io.mosip.testrig.authentication.demo.service.config; | ||
|
||
import java.util.List; | ||
|
||
import org.springframework.boot.context.properties.ConfigurationProperties; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
import lombok.Data; | ||
|
||
/** | ||
* @author Kamesh Shekhar prasad | ||
*/ | ||
|
||
@Configuration | ||
@ConfigurationProperties(prefix = "openapi") | ||
@Data | ||
public class OpenApiProperties { | ||
private InfoProperty info; | ||
private AuthDemoServiceServer authDemoServiceServer; | ||
} | ||
|
||
@Data | ||
class InfoProperty { | ||
private String title; | ||
private String description; | ||
private String version; | ||
private LicenseProperty license; | ||
} | ||
|
||
@Data | ||
class LicenseProperty { | ||
private String name; | ||
private String url; | ||
} | ||
|
||
@Data | ||
class AuthDemoServiceServer { | ||
private List<Server> servers; | ||
} | ||
|
||
@Data | ||
class Server { | ||
private String description; | ||
private String url; | ||
} |
Oops, something went wrong.