google-apis-rs icon indicating copy to clipboard operation
google-apis-rs copied to clipboard

Docs API (docs1) overwritten by DNS API (dns1)

Open arkus7 opened this issue 4 years ago • 1 comments

Hi,

Thanks for all the work done on this project! As I was going through the generated code I noticed that docs1 client is actually about DNS API (same as here)

I think it's worth regenerating the API for docs1 :)

arkus7 avatar Nov 06 '21 22:11 arkus7

You are welcome! I took a look and it turns out that the docs1 API description is in fact a copy of dns for some reason. Turns out the Makefile is incorrectly generated and refers to the DNS API when trying to build the docs API.

Turns out that the docs API description isn't even there.

Could not open JSON file at etc/api/docs/v1/docs-api.json
[Errno 2] No such file or directory: 'etc/api/docs/v1/docs-api.json'

…which apparently doesn't prevent something to be generated for the API. The script also fails later, so maybe it would just skip the docs API entirely if it would get there.

I attempted a fix, but couldn't make it work and am now out of time. If you want to dig in, help is much appreciated.

Byron avatar Nov 07 '21 01:11 Byron