public void setShowOauth2Endpoints(boolean showOauth2Endpoints) {
		this.showOauth2Endpoints = showOauth2Endpoints;
	}
Sets show oauth 2 endpoints.

@param showOauth2Endpoints the show oauth 2 endpoints
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/properties/SpringDocConfigProperties.java