-
Notifications
You must be signed in to change notification settings - Fork 1
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 #156 from wultra/develop
Prepare release 1.0.0
- Loading branch information
Showing
7 changed files
with
94 additions
and
66 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
59 changes: 59 additions & 0 deletions
59
...ava/io/getlime/security/powerauth/app/dataadapter/configuration/OpenApiConfiguration.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,59 @@ | ||
/* | ||
* Copyright 2017 Wultra s.r.o. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.getlime.security.powerauth.app.dataadapter.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 org.springdoc.core.GroupedOpenApi; | ||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
/** | ||
* Configuration class used for setting up Open API documentation. | ||
* | ||
* @author Petr Dvorak, [email protected] | ||
*/ | ||
@Configuration | ||
@OpenAPIDefinition( | ||
info = @Info( | ||
title = "PowerAuth Data Adapter RESTful API Documentation", | ||
version = "1.0", | ||
license = @License( | ||
name = "APL 2.0", | ||
url = "https://www.apache.org/licenses/LICENSE-2.0" | ||
), | ||
description = "Documentation for the PowerAuth Data Adapter RESTful API published by the PowerAuth Data Adapter Server.", | ||
contact = @Contact( | ||
name = "Wultra s.r.o.", | ||
url = "https://www.wultra.com" | ||
) | ||
) | ||
) | ||
public class OpenApiConfiguration { | ||
|
||
@Bean | ||
public GroupedOpenApi pushApiGroup() { | ||
String[] packages = {"io.getlime.security.powerauth"}; | ||
|
||
return GroupedOpenApi.builder() | ||
.group("dataadapter") | ||
.packagesToScan(packages) | ||
.build(); | ||
} | ||
|
||
} |
44 changes: 0 additions & 44 deletions
44
...ava/io/getlime/security/powerauth/app/dataadapter/configuration/SwaggerConfiguration.java
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0"?> | ||
<weblogic-web-app> | ||
<container-descriptor> | ||
<prefer-application-packages> | ||
<package-name>javax.validation.*</package-name> | ||
<package-name>org.hibernate.validator.*</package-name> | ||
</prefer-application-packages> | ||
</container-descriptor> | ||
</weblogic-web-app> |