Description
Link to the issue (please include a link to the specific documentation or example):
related to #1579
Description of the issue (please include outputs or screenshots if possible):
maintainer said in #1579 :
These files(kubernetes/client/configuration.yaml) are generated by openapi-generator and will get reverted when we re-generate the client.
The proper way to fix it is to send a PR to https://github.com/OpenAPITools/openapi-generator.
A mid-term workaround is to add a patch in this repo, for example: scripts/rest_client_patch.diff
I confirmed scripts/update-client.sh reverts 'no_proxy' from kubernetes/client/configuration.py.
but I could not find openapi definition file which is used as input to openapi-generator. where is it?
script/swagger.json seems to be output file.
I believe that:
- the data model for kubernetes/client/configuration is defined in kubernetes-client's openapi definition file (json or yaml) and new parameter should be added into it.
- for this matter(adding new parameter in data model), there is no need to change openapi-generator itself and workaround (adding by patch) is not good way.