mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
Fix SDK bindings generation (#5450)
This commit is contained in:
parent
8354929ff1
commit
326ecebba1
@ -36,8 +36,6 @@ public static class ServiceCollectionExtensions
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
config.CustomSchemaIds(type => type.FullName);
|
|
||||||
|
|
||||||
config.SwaggerDoc("internal", new OpenApiInfo { Title = "Bitwarden Internal API", Version = "latest" });
|
config.SwaggerDoc("internal", new OpenApiInfo { Title = "Bitwarden Internal API", Version = "latest" });
|
||||||
|
|
||||||
config.AddSecurityDefinition("oauth2-client-credentials", new OpenApiSecurityScheme
|
config.AddSecurityDefinition("oauth2-client-credentials", new OpenApiSecurityScheme
|
||||||
|
@ -5,13 +5,13 @@ namespace Bit.Core.Billing.Models.Api.Requests.Accounts;
|
|||||||
public class PreviewIndividualInvoiceRequestBody
|
public class PreviewIndividualInvoiceRequestBody
|
||||||
{
|
{
|
||||||
[Required]
|
[Required]
|
||||||
public PasswordManagerRequestModel PasswordManager { get; set; }
|
public IndividualPasswordManagerRequestModel PasswordManager { get; set; }
|
||||||
|
|
||||||
[Required]
|
[Required]
|
||||||
public TaxInformationRequestModel TaxInformation { get; set; }
|
public TaxInformationRequestModel TaxInformation { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class PasswordManagerRequestModel
|
public class IndividualPasswordManagerRequestModel
|
||||||
{
|
{
|
||||||
[Range(0, int.MaxValue)]
|
[Range(0, int.MaxValue)]
|
||||||
public int AdditionalStorage { get; set; }
|
public int AdditionalStorage { get; set; }
|
||||||
|
@ -8,7 +8,7 @@ public class PreviewOrganizationInvoiceRequestBody
|
|||||||
public Guid OrganizationId { get; set; }
|
public Guid OrganizationId { get; set; }
|
||||||
|
|
||||||
[Required]
|
[Required]
|
||||||
public PasswordManagerRequestModel PasswordManager { get; set; }
|
public OrganizationPasswordManagerRequestModel PasswordManager { get; set; }
|
||||||
|
|
||||||
public SecretsManagerRequestModel SecretsManager { get; set; }
|
public SecretsManagerRequestModel SecretsManager { get; set; }
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ public class PreviewOrganizationInvoiceRequestBody
|
|||||||
public TaxInformationRequestModel TaxInformation { get; set; }
|
public TaxInformationRequestModel TaxInformation { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class PasswordManagerRequestModel
|
public class OrganizationPasswordManagerRequestModel
|
||||||
{
|
{
|
||||||
public PlanType Plan { get; set; }
|
public PlanType Plan { get; set; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user