I'm currently using the below openapi-ui dependency.
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>1.4.4</version>
</dependency>
How to remove the api-resource-controller from the openapi-ui swagger screen?
If you want to hide certain paths, you could use the springdoc.paths-to-exclude property
, documented here.
So, in your case you should use:
# Paths to exclude
springdoc.paths-to-exclude=/swagger-resources/**
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With