Skip to content

Commit

Permalink
Bump generator to 1.14.13
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-balitskyi committed Nov 28, 2024
1 parent 2d6f4d2 commit be042eb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"npm": ">= 8.1.0"
},
"devDependencies": {
"@seamapi/nextlove-sdk-generator": "^1.14.12",
"@seamapi/nextlove-sdk-generator": "^1.14.13",
"@seamapi/types": "^1.302.2",
"@types/node": "^18.19.11",
"ava": "^5.0.1",
Expand Down
6 changes: 5 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import { writeFs, generateCSharpSDK } from '@seamapi/nextlove-sdk-generator'
import { openapi } from '@seamapi/types/connect'

import packageJson from '../package.json'

async function main() {
const filesystem = await generateCSharpSDK(packageJson.version)
const filesystem = await generateCSharpSDK({
packageVersion: packageJson.version,
openApiSpecObject: openapi,

Check failure on line 9 in src/index.ts

View workflow job for this annotation

GitHub Actions / Typecheck (Node.js v16)

Type '{ components: { schemas: { access_code: { properties: { access_code_id: { description: string; format: string; type: string; }; code: { description: string; nullable: boolean; type: string; }; common_code_key: { ...; }; ... 17 more ...; warnings: { ...; }; }; required: string[]; type: string; }; ... 24 more ...; wor...' is not assignable to type 'OpenAPISchema'.

Check failure on line 9 in src/index.ts

View workflow job for this annotation

GitHub Actions / Typecheck (Node.js v18)

Type '{ components: { schemas: { access_code: { properties: { access_code_id: { description: string; format: string; type: string; }; code: { description: string; nullable: boolean; type: string; }; common_code_key: { ...; }; ... 17 more ...; warnings: { ...; }; }; required: string[]; type: string; }; ... 24 more ...; wor...' is not assignable to type 'OpenAPISchema'.
})
writeFs('./output/csharp', filesystem)
}

Expand Down

0 comments on commit be042eb

Please sign in to comment.