-
Notifications
You must be signed in to change notification settings - Fork 61
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 #14 from Throyer/development
Development
- Loading branch information
Showing
14 changed files
with
194 additions
and
391 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,11 +10,30 @@ | |
import io.swagger.v3.oas.annotations.OpenAPIDefinition; | ||
import io.swagger.v3.oas.annotations.enums.SecuritySchemeIn; | ||
import io.swagger.v3.oas.annotations.enums.SecuritySchemeType; | ||
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.security.SecurityScheme; | ||
|
||
@Configuration | ||
@OpenAPIDefinition(info = @Info(title = "Common API", version = "v1")) | ||
@OpenAPIDefinition(info = @Info( | ||
title = "Common CRUD API", | ||
version = "v3.0.4", | ||
description = """ | ||
A complete user registry, with access permissions, | ||
JWT token, integration and unit tests, using | ||
the RESTful API pattern. | ||
""", | ||
license = @License( | ||
name = "GNU General Public License v3.0", | ||
url = "https://github.com/Throyer/springboot-api-crud/blob/master/LICENSE" | ||
), | ||
contact = @Contact( | ||
name = "Throyer", | ||
email = "[email protected]", | ||
url = "https://github.com/Throyer" | ||
) | ||
)) | ||
@SecurityScheme( | ||
name = "token", | ||
type = SecuritySchemeType.HTTP, | ||
|
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
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
Oops, something went wrong.