mirror of
https://github.com/tribufu/tribufu-js
synced 2026-06-01 09:42:36 +00:00
Generate api with NSwag
This commit is contained in:
parent
485d19b9f2
commit
0d24ecca3f
20 changed files with 1275 additions and 1243 deletions
13
examples/openid.js
Normal file
13
examples/openid.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// Copyright (c) Tribufu. All Rights Reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import dotenv from 'dotenv';
|
||||
import { TribufuClient } from '../build/index.mjs';
|
||||
|
||||
async function main() {
|
||||
const client = new TribufuClient();
|
||||
const config = await client.openidConfiguration();
|
||||
console.log(config);
|
||||
}
|
||||
|
||||
main();
|
||||
Loading…
Add table
Add a link
Reference in a new issue