Skip to content

Commit

Permalink
Implement getSbom using a generated api client.
Browse files Browse the repository at this point in the history
* Initial step in implementing #119

The generated code lived in to the `client/src/app/client`. 
The goal should be to replace all the api calls with client calls.

Signed-off-by: Hiram Chirino <hiram@hiramchirino.com>
  • Loading branch information
chirino committed Jul 22, 2024
1 parent 00707d9 commit 8983e54
Show file tree
Hide file tree
Showing 18 changed files with 7,690 additions and 13 deletions.
2 changes: 2 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# generating openapi client can generate error logs.
*.log
7 changes: 7 additions & 0 deletions client/config/openapi-ts.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { defineConfig } from '@hey-api/openapi-ts';

export default defineConfig({
client: 'axios',
input: './openapi/trustd.yaml',
output: 'src/app/client',
});
Loading

0 comments on commit 8983e54

Please sign in to comment.