public void setKeepUnusedComponents(boolean keepUnusedComponents) {
        this.keepUnusedComponents = keepUnusedComponents;
    }
Set to true to prevent unused OpenAPI components from being
removed from the created specification.

@param keepUnusedComponents Set to true to keep unused components.
smithy-openapi/src/main/java/software/amazon/smithy/openapi/OpenApiConfig.java