File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
src/main/java/com/wordnik/swagger/sample Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 22 <parent >
33 <groupId >com.wordnik</groupId >
44 <artifactId >swagger-project_2.10</artifactId >
5- <version >1.3.1-SNAPSHOT </version >
5+ <version >1.3.2 </version >
66 <relativePath >../..</relativePath >
77 </parent >
88 <modelVersion >4.0.0</modelVersion >
99 <groupId >com.wordnik</groupId >
1010 <artifactId >swagger-jersey2-sample-app_2.10</artifactId >
1111 <packaging >war</packaging >
1212 <name >swagger-jersey2-jaxrs-app</name >
13- <version >1.3.1-SNAPSHOT </version >
13+ <version >1.3.2 </version >
1414 <build >
1515 <sourceDirectory >src/main/java</sourceDirectory >
1616 <plugins >
121121 <properties >
122122 <jersey2-version >2.4</jersey2-version >
123123 </properties >
124- </project >
124+ </project >
Original file line number Diff line number Diff line change @@ -29,8 +29,9 @@ public class Bootstrap extends HttpServlet {
2929 "http://www.apache.org/licenses/LICENSE-2.0.html" /* license URL */
3030 );
3131
32- List <String > scopes = new ArrayList <String >();
33- scopes .add ("PUBLIC" );
32+ List <AuthorizationScope > scopes = new ArrayList <AuthorizationScope >();
33+ scopes .add (new AuthorizationScope ("email" , "Access to your email address" ));
34+ scopes .add (new AuthorizationScope ("pets" , "Access to your pets" ));
3435
3536 List <GrantType > grantTypes = new ArrayList <GrantType >();
3637
You can’t perform that action at this time.
0 commit comments