Skip to content

Commit

Permalink
Made open api 3.0.0 the default
Browse files Browse the repository at this point in the history
  • Loading branch information
dilipkrish committed Jul 15, 2020
1 parent 4e00d22 commit ee64c32
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ public Mono<ServerResponse> hello(ServerRequest request) {
}
}

@Bean
public Docket docket() {
return new Docket(DocumentationType.SWAGGER_2);
}
// NOTE: Uncomment to personalize. OAS_30 (OpenAPI is the default spec version)
// @Bean
// public Docket docket() {
// return new Docket(DocumentationType.SWAGGER_2);
// }
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ public SecurityConfiguration securityConfiguration() {
.build();
}

@Bean
public Docket docket() {
return new Docket(DocumentationType.SWAGGER_2);
}
// NOTE: Uncomment to personalize. OAS_30 (OpenAPI is the default spec version)
// @Bean
// public Docket docket() {
// return new Docket(DocumentationType.SWAGGER_2);
// }}
}

0 comments on commit ee64c32

Please sign in to comment.