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 code analysis script that lists all API calls #127

Open
pdesoyres-cc opened this issue Feb 19, 2025 · 0 comments · May be fixed by #120
Open

add code analysis script that lists all API calls #127

pdesoyres-cc opened this issue Feb 19, 2025 · 0 comments · May be fixed by #120
Assignees

Comments

@pdesoyres-cc
Copy link
Contributor

From a code base, we want to list all the calls to the clever API.

This script should help us to:

  • list all API calls
  • know whether the call is done with legacy client
  • take multiple source directories
  • filter/group by version (v2 / v4)
  • filter/group by path

The output should be a JSON or a Markdown

For every API call occurrence we should have:

  • the path (with :XXX for path params)
  • the HTTP method
  • maybe also the query params if we can
  • the api version (v2, v4)
  • if its from legacy client or not
  • from which base code dir
  • from which file
  • from which line in the file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants