Skip to content

Commit 0065e07

Browse files
committed
Regenerated Samples
1 parent d39f003 commit 0065e07

File tree

83 files changed

+480
-477
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+480
-477
lines changed

docs/generators/aspnetcore.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
2020
| ------ | ----------- | ------ | ------- |
2121
|aspnetCoreVersion|ASP.NET Core version: 6.0, 5.0, 3.1, 3.0, 2.2, 2.1, 2.0 (deprecated)|<dl><dt>**2.0**</dt><dd>ASP.NET Core 2.0</dd><dt>**2.1**</dt><dd>ASP.NET Core 2.1</dd><dt>**2.2**</dt><dd>ASP.NET Core 2.2</dd><dt>**3.0**</dt><dd>ASP.NET Core 3.0</dd><dt>**3.1**</dt><dd>ASP.NET Core 3.1</dd><dt>**5.0**</dt><dd>ASP.NET Core 5.0</dd><dt>**6.0**</dt><dd>ASP.NET Core 6.0</dd><dt>**7.0**</dt><dd>ASP.NET Core 7.0</dd><dt>**8.0**</dt><dd>ASP.NET Core 8.0</dd></dl>|8.0|
2222
|buildTarget|Target to build an application or library|<dl><dt>**program**</dt><dd>Generate code for a standalone server</dd><dt>**library**</dt><dd>Generate code for a server abstract class library</dd></dl>|program|
23+
|centralizedPackageVersionManagementOptOut|Opt out of centralized package version management. Set this if you have a Directory.Packages.pros file but want this project to ignore it. https://devblogs.microsoft.com/nuget/introducing-central-package-management/#disabling-central-package-management| |false|
2324
|classModifier|Class Modifier for controller classes: Empty string or abstract.| ||
2425
|compatibilityVersion|ASP.Net Core CompatibilityVersion| |Version_2_2|
2526
|enumNameSuffix|Suffix that will be appended to all enum names.| |Enum|
@@ -46,6 +47,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
4647
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
4748
|sourceFolder|source folder for generated code| |src|
4849
|swashbuckleVersion|Swashbuckle version: 3.0.0 (deprecated), 4.0.0 (deprecated), 5.0.0 (deprecated), 6.4.0|<dl><dt>**3.0.0**</dt><dd>Swashbuckle 3.0.0</dd><dt>**4.0.0**</dt><dd>Swashbuckle 4.0.0</dd><dt>**5.0.0**</dt><dd>Swashbuckle 5.0.0</dd><dt>**6.4.0**</dt><dd>Swashbuckle 6.4.0</dd></dl>|6.4.0|
50+
|useCentralizedPackageVersionManagement|Uses centralized package version management. https://devblogs.microsoft.com/nuget/introducing-central-package-management/#disabling-central-package-management| |false|
4951
|useCollection|Deserialize array types to Collection&lt;T&gt; instead of List&lt;T&gt;.| |false|
5052
|useDateTimeForDate|Use DateTime to model date properties even if DateOnly supported. (.net 6.0+ only)| |false|
5153
|useDateTimeOffset|Use DateTimeOffset to model date-time properties| |false|

docs/generators/fsharp-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
3434
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
3535
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
3636
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
37-
|sourceFolder|source folder for generated code| |OpenAPI/src|
37+
|sourceFolder|source folder for generated code| |OpenAPI\src|
3838

3939
## IMPORT MAPPING
4040

docs/generators/fsharp-giraffe-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
3030
|packageVersion|F# package version.| |1.0.0|
3131
|returnICollection|Return ICollection&lt;T&gt; instead of the concrete type.| |false|
3232
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
33-
|sourceFolder|source folder for generated code| |OpenAPI/src|
33+
|sourceFolder|source folder for generated code| |OpenAPI\src|
3434
|useCollection|Deserialize array types to Collection&lt;T&gt; instead of List&lt;T&gt;.| |false|
3535
|useDateTimeOffset|Use DateTimeOffset to model date-time properties| |false|
3636
|useSwashbuckle|Uses the Swashbuckle.AspNetCore NuGet package for documentation.| |false|

docs/generators/java-inflector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
6565
|snapshotVersion|Uses a SNAPSHOT version.|<dl><dt>**true**</dt><dd>Use a SnapShot Version</dd><dt>**false**</dt><dd>Use a Release Version</dd></dl>|null|
6666
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
6767
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
68-
|sourceFolder|source folder for generated code| |src/gen/java|
68+
|sourceFolder|source folder for generated code| |src\gen\java|
6969
|testOutput|Set output folder for models and APIs tests| |${project.build.directory}/generated-test-sources/openapi|
7070
|useJakartaEe|whether to use Jakarta EE namespace instead of javax| |false|
7171
|useOneOfInterfaces|whether to use a java interface to describe a set of oneOf options, where each option is a class that implements the interface| |false|

docs/generators/jaxrs-cxf-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
6565
|snapshotVersion|Uses a SNAPSHOT version.|<dl><dt>**true**</dt><dd>Use a SnapShot Version</dd><dt>**false**</dt><dd>Use a Release Version</dd></dl>|null|
6666
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
6767
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
68-
|sourceFolder|source folder for generated code| |src/gen/java|
68+
|sourceFolder|source folder for generated code| |src\gen\java|
6969
|testOutput|Set output folder for models and APIs tests| |${project.build.directory}/generated-test-sources/openapi|
7070
|useAbstractionForFiles|Use alternative types instead of java.io.File to allow passing bytes without a file on disk.| |false|
7171
|useBeanValidation|Use BeanValidation API annotations| |false|

docs/generators/swift5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ These options may be applied as additional-properties (cli) or configOptions (pl
4949
|responseAs|Optionally use libraries to manage response. Currently PromiseKit, RxSwift, Result, Combine, AsyncAwait are available.| |null|
5050
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
5151
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
52-
|swiftPackagePath|Set a custom source path instead of OpenAPIClient/Classes/OpenAPIs.| |null|
52+
|swiftPackagePath|Set a custom source path instead of OpenAPIClient\Classes\OpenAPIs.| |null|
5353
|swiftUseApiNamespace|Flag to make all the API classes inner-class of {{projectName}}API| |null|
5454
|useBacktickEscapes|Escape reserved words using backticks (default: false)| |false|
5555
|useClasses|Use final classes for models instead of structs (default: false)| |false|
5656
|useCustomDateWithoutTime|Uses a custom type to decode and encode dates without time information to support OpenAPIs date format (default: false)| |false|
5757
|useJsonEncodable|Make models conform to JSONEncodable protocol (default: true)| |true|
58-
|useSPMFileStructure|Use SPM file structure and set the source path to Sources/{{projectName}} (default: false).| |null|
58+
|useSPMFileStructure|Use SPM file structure and set the source path to Sources\{{projectName}} (default: false).| |null|
5959
|validatable|Make validation rules and validator for model properies (default: true)| |true|
6060

6161
## IMPORT MAPPING

docs/generators/swift6.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ These options may be applied as additional-properties (cli) or configOptions (pl
5151
|responseAs|Optionally use libraries to manage response. Currently AsyncAwait, Combine, Result, RxSwift, ObjcBlock, PromiseKit are available.| |null|
5252
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
5353
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
54-
|swiftPackagePath|Set a custom source path instead of Sources/{{projectName}}.| |null|
54+
|swiftPackagePath|Set a custom source path instead of Sources\{{projectName}}.| |null|
5555
|swiftUseApiNamespace|Flag to make all the API classes inner-class of {{projectName}}API| |null|
5656
|useBacktickEscapes|Escape reserved words using backticks (default: false)| |false|
5757
|useClasses|Use final classes for models instead of structs (default: false)| |false|
5858
|useCustomDateWithoutTime|Uses a custom type to decode and encode dates without time information to support OpenAPIs date format (default: false)| |false|
5959
|useJsonEncodable|Make models conform to JSONEncodable protocol (default: true)| |true|
60-
|useSPMFileStructure|Use SPM file structure and set the source path to Sources/{{projectName}} (default: true).| |null|
60+
|useSPMFileStructure|Use SPM file structure and set the source path to Sources\{{projectName}} (default: true).| |null|
6161
|validatable|Make validation rules and validator for model properies (default: true)| |true|
6262

6363
## IMPORT MAPPING

samples/client/echo_api/php-nextgen-streaming/phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
33
<coverage processUncoveredFiles="true">
44
<include>
5-
<directory suffix=".php">./src/Api</directory>
6-
<directory suffix=".php">./src/Model</directory>
5+
<directory suffix=".php">./src\/Api</directory>
6+
<directory suffix=".php">./src\/Model</directory>
77
</include>
88
</coverage>
99
<testsuites>

samples/client/echo_api/php-nextgen/phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
33
<coverage processUncoveredFiles="true">
44
<include>
5-
<directory suffix=".php">./src/Api</directory>
6-
<directory suffix=".php">./src/Model</directory>
5+
<directory suffix=".php">./src\/Api</directory>
6+
<directory suffix=".php">./src\/Model</directory>
77
</include>
88
</coverage>
99
<testsuites>

samples/client/petstore/php-nextgen/OpenAPIClient-php/phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
33
<coverage processUncoveredFiles="true">
44
<include>
5-
<directory suffix=".php">./src/Api</directory>
6-
<directory suffix=".php">./src/Model</directory>
5+
<directory suffix=".php">./src\/Api</directory>
6+
<directory suffix=".php">./src\/Model</directory>
77
</include>
88
</coverage>
99
<testsuites>

0 commit comments

Comments
 (0)