diff --git a/scripts/generate.ps1 b/scripts/generate.ps1
index 7f14cb8..408e2e0 100644
--- a/scripts/generate.ps1
+++ b/scripts/generate.ps1
@@ -7,6 +7,6 @@ java -jar ./vendor/openapi-generator/openapi-generator-cli.jar generate `
-g csharp `
-o . `
--global-property apis,models,supportingFiles,apiDocs=false,modelDocs=false,apiTests=false,modelTests=false `
- --additional-properties=packageName=Tribufu,library=restsharp,zeroBasedEnums=true,nullableReferenceTypes=true `
+ --additional-properties=packageName=Tribufu,library=restsharp,targetFramework=net47,zeroBasedEnums=true `
--openapi-normalizer SET_TAGS_FOR_ALL_OPERATIONS=TribufuGenerated `
--skip-validate-spec
diff --git a/src/Tribufu/Api/TribufuGeneratedApi.cs b/src/Tribufu/Api/TribufuGeneratedApi.cs
index c861352..8edc678 100644
--- a/src/Tribufu/Api/TribufuGeneratedApi.cs
+++ b/src/Tribufu/Api/TribufuGeneratedApi.cs
@@ -37,7 +37,7 @@ namespace Tribufu.Api
/// (optional)
/// Index associated with the operation.
/// CodeResponse
- CodeResponse Authorize(AuthorizeRequest? authorizeRequest = default(AuthorizeRequest?), int operationIndex = 0);
+ CodeResponse Authorize(AuthorizeRequest authorizeRequest = default(AuthorizeRequest), int operationIndex = 0);
///
/// Authorize the client to access the user information.
@@ -49,7 +49,7 @@ namespace Tribufu.Api
/// (optional)
/// Index associated with the operation.
/// ApiResponse of CodeResponse
- ApiResponse AuthorizeWithHttpInfo(AuthorizeRequest? authorizeRequest = default(AuthorizeRequest?), int operationIndex = 0);
+ ApiResponse AuthorizeWithHttpInfo(AuthorizeRequest authorizeRequest = default(AuthorizeRequest), int operationIndex = 0);
///
/// Change the email of a user.
///
@@ -61,7 +61,7 @@ namespace Tribufu.Api
/// (optional)
/// Index associated with the operation.
///
- void ChangeEmail(string id, Object? body = default(Object?), int operationIndex = 0);
+ void ChangeEmail(string id, Object body = default(Object), int operationIndex = 0);
///
/// Change the email of a user.
@@ -74,7 +74,7 @@ namespace Tribufu.Api
/// (optional)
/// Index associated with the operation.
/// ApiResponse of Object(void)
- ApiResponse