You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
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.
The text was updated successfully, but these errors were encountered:
itaru2622
changed the title
[Q] the proper way to adding new parameter to kubernetes/client/configuration.py
[Q] the proper way to add new parameter to kubernetes/client/configuration.py
Oct 19, 2021
after investigation on openapi-generator... @roycaihw did you mean that following files are generated by openapi-generator and kubernetes-client is just using them in AS-IS base?
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 :
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 text was updated successfully, but these errors were encountered: