crowdin / crowdin-api-client-dotnet

.NET client library for Crowdin API
https://www.nuget.org/packages/Crowdin.Api/
MIT License
53 stars 26 forks source link

AddProjectRequest class is empty #174

Closed bZverok closed 1 year ago

bZverok commented 1 year ago

AddProjectRequest class is empty, although there are a lot of request parameters in the documentation for this request(https://developer.crowdin.com/api/v2/#operation/api.projects.post)

зображення

andrii-bodnar commented 1 year ago

Hi @bZverok, this is just a base class for the ProjectForm.cs and EnterpriseProjectForm.cs. The first one is supposed to be used in crowdin.com, and the second one in Crowdin Enterprise.

bZverok commented 1 year ago

ProjectFrom.cs has only one property, but there are much more in the non-enterprise version of documentation ((https://developer.crowdin.com/api/v2/#operation/api.projects.post).

andrii-bodnar commented 1 year ago

@bZverok yes, I just noticed that too, we should definitely add the missing properties

innomaxx commented 1 year ago

ProjectFrom.cs has only one property, but there are much more in the non-enterprise version of documentation ((https://developer.crowdin.com/api/v2/#operation/api.projects.post).

ProjectForm type is abstract and not supposed to use. Users should use its derived types

image