Produced by Araxis Merge on 3/12/2019 4:22:12 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | C:\AraxisMergeCompare\Pri_un\CC CC SEOC 1.7\seocapi-release1.7@25b9376983d\seoc-reactor\seoc-rest-api\src\main\java\gov\va\oneconsult\seoc\api | SwaggerConfig.java | Wed Jan 30 19:31:26 2019 UTC |
2 | C:\AraxisMergeCompare\Pri_re\Community Care Care Coordination SEOC 1.7-redacted\CC CC SEOC 1.7\seocapi-release1.7@25b9376983d\seoc-reactor\seoc-rest-api\src\main\java\gov\va\oneconsult\seoc\api | SwaggerConfig.java | Tue Mar 12 19:30:50 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 88 |
Changed | 1 | 2 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | /* | |
2 | * Swagger Config.jav a | |
3 | * Copyrig ht (c) 201 7 Veterans Affairs. | |
4 | */ | |
5 | package go v.va.oneco nsult.seoc .api; | |
6 | ||
7 | import org .springfra mework.con text.annot ation.Bean ; | |
8 | import org .springfra mework.con text.annot ation.Conf iguration; | |
9 | import com .google.co mmon.base. Predicates ; | |
10 | import spr ingfox.doc umentation .builders. ApiInfoBui lder; | |
11 | import spr ingfox.doc umentation .builders. RequestHan dlerSelect ors; | |
12 | import spr ingfox.doc umentation .service.A piInfo; | |
13 | import spr ingfox.doc umentation .spi.Docum entationTy pe; | |
14 | import spr ingfox.doc umentation .spring.we b.plugins. Docket; | |
15 | import spr ingfox.doc umentation .swagger2. annotation s.EnableSw agger2; | |
16 | ||
17 | /** | |
18 | * Configu ration for Swagger d ocumentati on | |
19 | * @author AbleVets | |
20 | */ | |
21 | @Configura tion | |
22 | @EnableSwa gger2 | |
23 | public cla ss Swagger Config | |
24 | { | |
25 | ||
26 | @B ean | |
27 | pu blic Docke t postsApi () | |
28 | { | |
29 | ||
30 | retu rn new Doc ket(Docume ntationTyp e.SWAGGER_ 2).groupNa me("Seoc-a pi").apiIn fo(apiInfo ()) | |
31 | .selec t() | |
32 | .apis( Predicates | |
33 | .not(Req uestHandle rSelectors .basePacka ge("org.sp ringframew ork.boot") )) | |
34 | .build (); | |
35 | } | |
36 | ||
37 | pr ivate ApiI nfo apiInf o() | |
38 | { | |
39 | ||
40 | retu rn new Api InfoBuilde r().title( "Seoc API" ).descript ion("Seoc API Refere nce") | |
41 | .termsOfSe rviceUrl(" https://ww w. DOMAIN . EXT /").licens eUrl("http s://www.ap ache.org/" ) | |
42 | .versi on("1.0.04 ").build() ; | |
43 | } | |
44 | ||
45 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.