Skip to content

Commit

Permalink
Export package assets
Browse files Browse the repository at this point in the history
  • Loading branch information
haimkastner committed Mar 20, 2024
1 parent b14cec9 commit 91b3888
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1 @@
// export * from './generated/swagger/api';


import { ServerSDK } from './generated/swagger/api';


(async () => {

try {
const serverSDK = new ServerSDK();
const res = await serverSDK.StatusApi.ping('hello', { whois: 'c' });

console.log(res.greeting)
console.log(res.time)
} catch (error) {
console.log('error')
const response = error as any;
const r = await response.text();
console.log(r)
}


})();
export * from './generated/swagger/api';

0 comments on commit 91b3888

Please sign in to comment.