Produced by Araxis Merge on 12/21/2017 6:15:13 PM Eastern Standard 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 | Genisis_2.0_v7_bld7.zip\TS\Service\term-service\src\main\java\gov\va\genisis2\swagger | WebConfig.java | Thu Dec 14 19:57:07 2017 UTC |
| 2 | Genisis_2.0_v7_bld7.zip\TS\Service\term-service\src\main\java\gov\va\genisis2\swagger | WebConfig.java | Thu Dec 21 22:10:06 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 60 |
| 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.genis is2.swagge r; | |
| 2 | ||
| 3 | import org .springfra mework.con text.annot ation.Comp onentScan; | |
| 4 | import org .springfra mework.con text.annot ation.Conf iguration; | |
| 5 | import org .springfra mework.sch eduling.an notation.E nableAsync ; | |
| 6 | import org .springfra mework.web .servlet.c onfig.anno tation.Ena bleWebMvc; | |
| 7 | import org .springfra mework.web .servlet.c onfig.anno tation.Res ourceHandl erRegistry ; | |
| 8 | import org .springfra mework.web .servlet.c onfig.anno tation.Web MvcConfigu rerAdapter ; | |
| 9 | ||
| 10 | /** | |
| 11 | * Swagger UI adds a set of re sources wh ich must c onfigure a s part of | |
| 12 | * a class that exte nds WebMvc Configurer Adapter, a nd is anno tated with @EnableWe bMvc. | |
| 13 | * | |
| 14 | * @author P II | |
| 15 | * | |
| 16 | */ | |
| 17 | @Configura tion | |
| 18 | @Component Scan({ "go v.va.genis is2.ts" }) | |
| 19 | @EnableWeb Mvc | |
| 20 | @EnableAsy nc | |
| 21 | public cla ss WebConf ig extends WebMvcCon figurerAda pter { | |
| 22 | ||
| 23 | @O verride | |
| 24 | pu blic void addResourc eHandlers( ResourceHa ndlerRegis try regist ry) { | |
| 25 | regi stry.addRe sourceHand ler(new St ring[] { " swagger-ui .html" }) | |
| 26 | .addReso urceLocati ons(new St ring[] { " classpath: /META-INF/ resources/ " }); | |
| 27 | ||
| 28 | regi stry.addRe sourceHand ler(new St ring[] { " /webjars/* *" }) | |
| 29 | .addReso urceLocati ons(new St ring[] { " classpath: /META-INF/ resources/ webjars/" }); | |
| 30 | } | |
| 31 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.