Produced by Araxis Merge on 6/5/2018 6:48:20 PM Eastern 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 | OneDrive_1_5-3-2018.zip\providerlocatorapi.zip\providerlocatorapi\providerlocator-rest-api\src\main\java\gov\va\ablevets\provloc\api\config | SwaggerConfig.java | Thu Apr 5 14:18:16 2018 UTC |
| 2 | OneDrive_1_5-3-2018.zip\providerlocatorapi.zip\providerlocatorapi\providerlocator-rest-api\src\main\java\gov\va\ablevets\provloc\api\config | SwaggerConfig.java | Tue Jun 5 21:04:13 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 92 |
| 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 | package go v.va.ablev ets.provlo c.api.conf ig; | |
| 2 | ||
| 3 | import jav a.time.Loc alDate; | |
| 4 | ||
| 5 | import org .springfra mework.con text.annot ation.Bean ; | |
| 6 | import org .springfra mework.con text.annot ation.Conf iguration; | |
| 7 | import org .springfra mework.htt p.Response Entity; | |
| 8 | ||
| 9 | import spr ingfox.doc umentation .builders. ApiInfoBui lder; | |
| 10 | import spr ingfox.doc umentation .builders. PathSelect ors; | |
| 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 | * @author vacoYalam S | |
| 19 | * | |
| 20 | * Descrip tion: | |
| 21 | * | |
| 22 | * http:// localhost: 8080/api/s wagger-ui. html | |
| 23 | * http:// localhost: 8080/v2/ap i-docs | |
| 24 | * | |
| 25 | */ | |
| 26 | @Configura tion | |
| 27 | @EnableSwa gger2 | |
| 28 | public cla ss Swagger Config { | |
| 29 | ||
| 30 | @B ean | |
| 31 | pu blic Docke t mainConf ig() {// @ formatter: off | |
| 32 | ||
| 33 | retu rn new Doc ket(Docume ntationTyp e.SWAGGER_ 2).apiInfo (apiInfo() ).select() | |
| 34 | //.paths (PathSelec tors.ant(" /v1/**")) | |
| 35 | .paths(P athSelecto rs.any()) | |
| 36 | .apis(Re questHandl erSelector s.basePack age("gov.v a.ablevets .provloc.a pi.web.con troller.ui ")) | |
| 37 | .build() .directMod elSubstitu te(LocalDa te.class, String.cla ss) | |
| 38 | .generic ModelSubst itutes(Res ponseEntit y.class); | |
| 39 | } // @format ter:on | |
| 40 | ||
| 41 | privat e ApiInfo apiInfo() { | |
| 42 | return new ApiInfoBu ilder().ti tle("PPMS API").desc ription("P PMS API"). termsOfSer viceUrl("h ttps:// DNS . URL ") | |
| 43 | .license Url("https ://www.apa che.org/") .version(" 1.0").buil d(); | |
| 44 | } | |
| 45 | ||
| 46 | ||
| 47 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.