Skip to content

Commit

Permalink
[dev-tool] add a command to extract api (Azure#27646)
Browse files Browse the repository at this point in the history
if there are sub path exports, extract api for each of them; otherwise
extract a single report as before.

The output files by convention have the sub paths as their suffiex. For
example, `openai` would have the following api report output because it
has `.`, `./api`, `./rest`, `./models` sub path exports

>openai-..api.json
openai-.∕api.api.json
openai-.∕rest.api.json
openai-.∕models.api.json

These four files are then added into a zip, which could be uploaded to
apiview.dev once the support is added there.
  • Loading branch information
jeremymeng authored Jan 23, 2024
1 parent 234a31f commit 416eb2d
Show file tree
Hide file tree
Showing 5 changed files with 649 additions and 391 deletions.
Loading

0 comments on commit 416eb2d

Please sign in to comment.