Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(testing): add test to detect duplicate endpoint names #3908

Merged
merged 9 commits into from
Jul 19, 2024
Prev Previous commit
Next Next commit
cleanup
ThijsBroersen committed Jul 19, 2024

Verified

This commit was signed with the committer’s verified signature.
ThijsBroersen Thijs Broersen
commit 54f00f4da1d68a9bfcfb88eae25c1ae60e194817
1 change: 0 additions & 1 deletion core/src/main/scala/sttp/tapir/Endpoint.scala
Original file line number Diff line number Diff line change
@@ -314,7 +314,6 @@ trait EndpointInfoOps[-R] {
private[tapir] def withInfo(info: EndpointInfo): ThisType[R]

def name(n: String): ThisType[R] = withInfo(info.name(n))

def summary(s: String): ThisType[R] = withInfo(info.summary(s))
def description(d: String): ThisType[R] = withInfo(info.description(d))
def deprecated(): ThisType[R] = withInfo(info.deprecated(true))