Skip to content

Commit

Permalink
typo: rename setContextPath to just contextPath on OpenAPIModule
Browse files Browse the repository at this point in the history
  • Loading branch information
jknack committed Nov 7, 2024
1 parent 4e5ca66 commit 8a734f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jooby/src/main/java/io/jooby/OpenAPIModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public OpenAPIModule() {
* @param contextPath Context path/Path prefix.
* @return This module.
*/
public @NonNull OpenAPIModule setContextPath(@NonNull String contextPath) {
public @NonNull OpenAPIModule contextPath(@NonNull String contextPath) {
this.contextPath = contextPath;
return this;
}
Expand Down

0 comments on commit 8a734f4

Please sign in to comment.