Most OpenAPI generator maven plugins support the usage of remote OpenAPI specifications, e.g. from a git repository.
This is useful if you have a schema registry in place or when you do a contract first approach using API design tools pushing the created specifications to a git repository.
This feature allows to use of http-resources for OpenAPI specifications in the camel-restdsl-openapi-plugin. A support for basic authentication is also necessary for protected resources.
I will follow-up with a pull-request.