Vendor FAQ: SDK Code Generation
- Emma Kershner
Client-side SDK code generation
In a PowerShell command window execute these commands to generate the SDK.
Invoke-WebRequest -OutFile openApi-codegen-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/6.0.1/openapi-generator-cli-6.0.1.jar
java -jar openApi-codegen-cli.jar generate -g csharp-netcore -i https://dataexchangevendor.doe.in.gov/metadata/data/v3/2025/swagger.json --api-package Apis --model-package Models -o ./IDOEOdsApi --additional-properties packageName=EdFi.OdsApi.Sdk,targetFramework=net6.0,netCoreProjectFile=true --global-property modelTests=false --global-property apiTests=false --skip-validate-spec
java -jar openApi-codegen-cli.jar generate -g csharp-netcore -i https://dataexchangevendor.doe.in.gov/metadata/idoeidentity/v2/2025/swagger.json --api-package IdentityApis --model-package IdentityModels -o ./IDOEIdentities --additional-properties packageName=EdFi.OdsApi.IDOEIdentities.Sdk,targetFramework=net6.0,netCoreProjectFile=true --global-property modelTests=false --global-property apiTests=false --skip-validate-spec
java -jar openApi-codegen-cli.jar generate -g csharp-netcore -i https://dataexchangevendor.doe.in.gov/metadata/idoeattendancebulk/v1/2025/swagger.json --api-package AttendanceBulkApis --model-package AttendanceBulkModels -o ./IDOEAttendanceBulk --additional-properties packageName=EdFi.OdsApi.IDOEAttendanceBulk.Sdk,targetFramework=net6.0,netCoreProjectFile=true --global-property modelTests=false --global-property apiTests=false --skip-validate-spec