I have been generating the lib and doc with the Open API description for GHES 3.3.
All is fine except a small thing impacting pure GHES enterprise capabilities:
build_lib.py generates the metadata.py with for example
The problem is with the minus in enterprise-admin. In Python a method cannot have a minus in its name.
When I replace with enterprise_admin everything is fine and I can call the API.
Hi
I have been generating the lib and doc with the Open API description for GHES 3.3. All is fine except a small thing impacting pure GHES enterprise capabilities:
build_lib.py
generates themetadata.py
with for examplewhich is converted in doc as
The problem is with the minus in enterprise-admin. In Python a method cannot have a minus in its name. When I replace with enterprise_admin everything is fine and I can call the API.
Then I think a specific replacement of - by _ should be added to https://github.com/fastai/ghapi/blob/master/90_build_lib.ipynb