-
-
Notifications
You must be signed in to change notification settings - Fork 526
Enable UrlTemplating #2236
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
Comments
i checked 1726, seem like a pull request should be already merged to fix this issue.... don't seem true, i use already the newest release |
@marccollin
Controller
|
you added code to your application. So the pull request was not merged? |
PR #1706 has been merged. Since it is not a natural choice to create two methods for the same API resource, springdoc-openapi does not have this implementation by default, but you can customize it yourself using RouterOperationCustomizer. |
If you ❤️ this project consider becoming a sponsor.
If you already use the
springdoc-openapi
, please do not forget adding a github star to this repository.Actually with springfox it's possible to use url templating
@bean
public Docket categoryApi() {
return new Docket(DocumentationType.SWAGGER_2)
.groupName("category-api")
.apiInfo(apiInfo())
.select()
.paths(categoryPaths())
.build()
.ignoredParameterTypes(ApiIgnore.class)
.enableUrlTemplating(true);
}
Actually with springdoc when we have theses both endpoint
Only the first is displayed underswagger.
With sprindoc, when we enable url templating, both are displayed
Spring doc should have a similar option to support that
The text was updated successfully, but these errors were encountered: