Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add README for google-api-go-generator #2626

Closed
quartzmo opened this issue Jun 7, 2024 · 0 comments · Fixed by #2633
Closed

Add README for google-api-go-generator #2626

quartzmo opened this issue Jun 7, 2024 · 0 comments · Fixed by #2633
Assignees
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: docs Improvement to the documentation for an API.

Comments

@quartzmo
Copy link
Member

quartzmo commented Jun 7, 2024

google-api-go-generator needs a usage README.

Here's some possible content:

How to manually generate Apiary from JSON not in discovery doc

  1. In google-api-go-client/google-api-go-generator, run go build. It should produce a google-api-go-generator binary.
  2. Generate clients from cached discovery documents:
    ./google-api-go-generator -install -api_json_file=../test.json -gendir=..
    
    Or, download a discovery doc and generate a single client:
    ./google-api-go-generator -cache=false -install -api=aiplatform:v1beta1 -gendir=.
    
@quartzmo quartzmo added type: docs Improvement to the documentation for an API. priority: p3 Desirable enhancement or fix. May not be included in next release. labels Jun 7, 2024
codyoss added a commit to codyoss/google-api-go-client that referenced this issue Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: docs Improvement to the documentation for an API.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants