[CSharp] feat!: add useDateOnly flag (#17471)

* feat: DateOnly for client

* fix: generated doc for csharp

* doc: fix generators README for csharp

* add DateOnly option for aspnet

* refactor: update csharp docs

* refactor: fix typo

* finish

* finish

* finish

* regenerate

* rebuild and regenerate

* fix build error

* finish

* revert path

* regenerate

* remove exceed samples

* regenerate

* add DateOnly to nullable

* remove obsolete file from list

* update test files list

* remove obsolete sample build

* revert manual tests

* revert samples to master and regenerate

* remove new samples

* remove eol

* remove eol

* add new specs

* try fix test

* update tests

* update files

* remove eol

* revert

* remove eol

* regenerate

* add net6+ support to aspnetcore

* add jobs
This commit is contained in:
Anakael
2024-01-10 06:34:14 +03:00
committed by GitHub
parent 9b62b9bb05
commit 11caad92df
189 changed files with 8858 additions and 277 deletions

View File

@@ -108,7 +108,7 @@ No authorization required
<a id="testquerydatetimedatestring"></a>
# **TestQueryDatetimeDateString**
> string TestQueryDatetimeDateString (DateTime? datetimeQuery = null, DateTime? dateQuery = null, string? stringQuery = null)
> string TestQueryDatetimeDateString (DateTime? datetimeQuery = null, DateOnly? dateQuery = null, string? stringQuery = null)
Test query parameter(s)
@@ -132,7 +132,7 @@ namespace Example
config.BasePath = "http://localhost:3000";
var apiInstance = new QueryApi(config);
var datetimeQuery = DateTime.Parse("2013-10-20T19:20:30+01:00"); // DateTime? | (optional)
var dateQuery = DateTime.Parse("2013-10-20"); // DateTime? | (optional)
var dateQuery = DateOnly.Parse("2013-10-20"); // DateOnly? | (optional)
var stringQuery = "stringQuery_example"; // string? | (optional)
try
@@ -177,7 +177,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **datetimeQuery** | **DateTime?** | | [optional] |
| **dateQuery** | **DateTime?** | | [optional] |
| **dateQuery** | **DateOnly?** | | [optional] |
| **stringQuery** | **string?** | | [optional] |
### Return type