Skip to content

Commit

Permalink
update samples, docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 committed May 28, 2021
1 parent 12c34d4 commit 28c3e1d
Show file tree
Hide file tree
Showing 38 changed files with 351 additions and 350 deletions.
1 change: 1 addition & 0 deletions docs/generators.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ The following generators are available:
* [openapi](generators/openapi.md)
* [openapi-yaml](generators/openapi-yaml.md)
* [plantuml (beta)](generators/plantuml.md)
* [wsdl](generators/wsdl.md)


## SCHEMA generators
Expand Down
2 changes: 1 addition & 1 deletion docs/generators/fsharp-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|sourceFolder|source folder for generated code| |OpenAPI\src|
|sourceFolder|source folder for generated code| |OpenAPI/src|

## IMPORT MAPPING

Expand Down
2 changes: 1 addition & 1 deletion docs/generators/fsharp-giraffe-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|packageVersion|F# package version.| |1.0.0|
|returnICollection|Return ICollection<T> instead of the concrete type.| |false|
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|sourceFolder|source folder for generated code| |OpenAPI\src|
|sourceFolder|source folder for generated code| |OpenAPI/src|
|useCollection|Deserialize array types to Collection<T> instead of List<T>.| |false|
|useDateTimeOffset|Use DateTimeOffset to model date-time properties| |false|
|useSwashbuckle|Uses the Swashbuckle.AspNetCore NuGet package for documentation.| |false|
Expand Down
2 changes: 1 addition & 1 deletion docs/generators/java-inflector.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|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|
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|sourceFolder|source folder for generated code| |src\gen\java|
|sourceFolder|source folder for generated code| |src/gen/java|
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)| |false|

## IMPORT MAPPING
Expand Down
2 changes: 1 addition & 1 deletion docs/generators/jaxrs-cxf-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|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|
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|sourceFolder|source folder for generated code| |src\gen\java|
|sourceFolder|source folder for generated code| |src/gen/java|
|useBeanValidation|Use BeanValidation API annotations| |false|
|useGenericResponse|Use generic response| |false|
|useGzipFeatureForTests|Use Gzip Feature for tests| |false|
Expand Down
4 changes: 2 additions & 2 deletions docs/generators/swift5.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|responseAs|Optionally use libraries to manage response. Currently PromiseKit, RxSwift, Result, Combine are available.| |null|
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|swiftPackagePath|Set a custom source path instead of OpenAPIClient\Classes\OpenAPIs.| |null|
|swiftPackagePath|Set a custom source path instead of OpenAPIClient/Classes/OpenAPIs.| |null|
|swiftUseApiNamespace|Flag to make all the API classes inner-class of {{projectName}}API| |null|
|useBacktickEscapes|Escape reserved words using backticks (default: false)| |false|
|useSPMFileStructure|Use SPM file structure and set the source path to Sources\{{projectName}} (default: false).| |null|
|useSPMFileStructure|Use SPM file structure and set the source path to Sources/{{projectName}} (default: false).| |null|

## IMPORT MAPPING

Expand Down
2 changes: 1 addition & 1 deletion samples/client/petstore/R/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
.travis.yml
DESCRIPTION
NAMESPACE
README.md
R/api_client.R
R/api_response.R
R/category.R
Expand All @@ -15,6 +14,7 @@ R/store_api.R
R/tag.R
R/user.R
R/user_api.R
README.md
docs/Category.md
docs/ModelApiResponse.md
docs/Order.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ docs/Model/SpecialModelName.md
docs/Model/Tag.md
docs/Model/User.md
git_push.sh
lib/ApiException.php
lib/Api/AnotherFakeApi.php
lib/Api/DefaultApi.php
lib/Api/FakeApi.php
lib/Api/FakeClassnameTags123Api.php
lib/Api/PetApi.php
lib/Api/StoreApi.php
lib/Api/UserApi.php
lib/ApiException.php
lib/Configuration.php
lib/HeaderSelector.php
lib/Model/AdditionalPropertiesClass.php
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./lib\/Api</directory>
<directory suffix=".php">./lib\/Model</directory>
<directory suffix=".php">./lib/Api</directory>
<directory suffix=".php">./lib/Model</directory>
</whitelist>
</filter>
<php>
Expand Down
12 changes: 6 additions & 6 deletions samples/client/petstore/powershell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ Class | Method | HTTP request | Description

## Documentation for Models

- [PSPetstore\Model.ApiResponse](docs/ApiResponse.md)
- [PSPetstore\Model.Category](docs/Category.md)
- [PSPetstore\Model.Order](docs/Order.md)
- [PSPetstore\Model.Pet](docs/Pet.md)
- [PSPetstore\Model.Tag](docs/Tag.md)
- [PSPetstore\Model.User](docs/User.md)
- [PSPetstore/Model.ApiResponse](docs/ApiResponse.md)
- [PSPetstore/Model.Category](docs/Category.md)
- [PSPetstore/Model.Order](docs/Order.md)
- [PSPetstore/Model.Pet](docs/Pet.md)
- [PSPetstore/Model.Tag](docs/Tag.md)
- [PSPetstore/Model.User](docs/User.md)


## Documentation for Authorization
Expand Down
2 changes: 1 addition & 1 deletion samples/client/petstore/powershell/docs/PSPetApi.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PSPetstore.PSPetstore\Api.PSPetApi
# PSPetstore.PSPetstore/Api.PSPetApi

All URIs are relative to *http://petstore.swagger.io:80/v2*

Expand Down
2 changes: 1 addition & 1 deletion samples/client/petstore/powershell/docs/PSStoreApi.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PSPetstore.PSPetstore\Api.PSStoreApi
# PSPetstore.PSPetstore/Api.PSStoreApi

All URIs are relative to *http://petstore.swagger.io:80/v2*

Expand Down
2 changes: 1 addition & 1 deletion samples/client/petstore/powershell/docs/PSUserApi.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PSPetstore.PSPetstore\Api.PSUserApi
# PSPetstore.PSPetstore/Api.PSUserApi

All URIs are relative to *http://petstore.swagger.io:80/v2*

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export interface Capitalization {
sCAETHFlowPoints?: string;
/**
* Name of the pet
* @type {string}
* @memberof Capitalization
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,52 +105,53 @@ Class | Method | HTTP request | Description
[*UserApi*](doc/UserApi.md) | [**logoutUser**](doc/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
[*UserApi*](doc/UserApi.md) | [**updateUser**](doc/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user


## Documentation For Models

- [AdditionalPropertiesClass](doc\AdditionalPropertiesClass.md)
- [Animal](doc\Animal.md)
- [ApiResponse](doc\ApiResponse.md)
- [ArrayOfArrayOfNumberOnly](doc\ArrayOfArrayOfNumberOnly.md)
- [ArrayOfNumberOnly](doc\ArrayOfNumberOnly.md)
- [ArrayTest](doc\ArrayTest.md)
- [Capitalization](doc\Capitalization.md)
- [Cat](doc\Cat.md)
- [CatAllOf](doc\CatAllOf.md)
- [Category](doc\Category.md)
- [ClassModel](doc\ClassModel.md)
- [Dog](doc\Dog.md)
- [DogAllOf](doc\DogAllOf.md)
- [EnumArrays](doc\EnumArrays.md)
- [EnumTest](doc\EnumTest.md)
- [FileSchemaTestClass](doc\FileSchemaTestClass.md)
- [Foo](doc\Foo.md)
- [FormatTest](doc\FormatTest.md)
- [HasOnlyReadOnly](doc\HasOnlyReadOnly.md)
- [HealthCheckResult](doc\HealthCheckResult.md)
- [InlineResponseDefault](doc\InlineResponseDefault.md)
- [MapTest](doc\MapTest.md)
- [MixedPropertiesAndAdditionalPropertiesClass](doc\MixedPropertiesAndAdditionalPropertiesClass.md)
- [Model200Response](doc\Model200Response.md)
- [ModelClient](doc\ModelClient.md)
- [ModelEnumClass](doc\ModelEnumClass.md)
- [ModelFile](doc\ModelFile.md)
- [ModelList](doc\ModelList.md)
- [ModelReturn](doc\ModelReturn.md)
- [Name](doc\Name.md)
- [NullableClass](doc\NullableClass.md)
- [NumberOnly](doc\NumberOnly.md)
- [Order](doc\Order.md)
- [OuterComposite](doc\OuterComposite.md)
- [OuterEnum](doc\OuterEnum.md)
- [OuterEnumDefaultValue](doc\OuterEnumDefaultValue.md)
- [OuterEnumInteger](doc\OuterEnumInteger.md)
- [OuterEnumIntegerDefaultValue](doc\OuterEnumIntegerDefaultValue.md)
- [OuterObjectWithEnumProperty](doc\OuterObjectWithEnumProperty.md)
- [Pet](doc\Pet.md)
- [ReadOnlyFirst](doc\ReadOnlyFirst.md)
- [SpecialModelName](doc\SpecialModelName.md)
- [Tag](doc\Tag.md)
- [User](doc\User.md)
- [AdditionalPropertiesClass](doc/AdditionalPropertiesClass.md)
- [Animal](doc/Animal.md)
- [ApiResponse](doc/ApiResponse.md)
- [ArrayOfArrayOfNumberOnly](doc/ArrayOfArrayOfNumberOnly.md)
- [ArrayOfNumberOnly](doc/ArrayOfNumberOnly.md)
- [ArrayTest](doc/ArrayTest.md)
- [Capitalization](doc/Capitalization.md)
- [Cat](doc/Cat.md)
- [CatAllOf](doc/CatAllOf.md)
- [Category](doc/Category.md)
- [ClassModel](doc/ClassModel.md)
- [Dog](doc/Dog.md)
- [DogAllOf](doc/DogAllOf.md)
- [EnumArrays](doc/EnumArrays.md)
- [EnumTest](doc/EnumTest.md)
- [FileSchemaTestClass](doc/FileSchemaTestClass.md)
- [Foo](doc/Foo.md)
- [FormatTest](doc/FormatTest.md)
- [HasOnlyReadOnly](doc/HasOnlyReadOnly.md)
- [HealthCheckResult](doc/HealthCheckResult.md)
- [InlineResponseDefault](doc/InlineResponseDefault.md)
- [MapTest](doc/MapTest.md)
- [MixedPropertiesAndAdditionalPropertiesClass](doc/MixedPropertiesAndAdditionalPropertiesClass.md)
- [Model200Response](doc/Model200Response.md)
- [ModelClient](doc/ModelClient.md)
- [ModelEnumClass](doc/ModelEnumClass.md)
- [ModelFile](doc/ModelFile.md)
- [ModelList](doc/ModelList.md)
- [ModelReturn](doc/ModelReturn.md)
- [Name](doc/Name.md)
- [NullableClass](doc/NullableClass.md)
- [NumberOnly](doc/NumberOnly.md)
- [Order](doc/Order.md)
- [OuterComposite](doc/OuterComposite.md)
- [OuterEnum](doc/OuterEnum.md)
- [OuterEnumDefaultValue](doc/OuterEnumDefaultValue.md)
- [OuterEnumInteger](doc/OuterEnumInteger.md)
- [OuterEnumIntegerDefaultValue](doc/OuterEnumIntegerDefaultValue.md)
- [OuterObjectWithEnumProperty](doc/OuterObjectWithEnumProperty.md)
- [Pet](doc/Pet.md)
- [ReadOnlyFirst](doc/ReadOnlyFirst.md)
- [SpecialModelName](doc/SpecialModelName.md)
- [Tag](doc/Tag.md)
- [User](doc/User.md)


## Documentation For Authorization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ Class | Method | HTTP request | Description

## Documentation For Models

- [ApiResponse](doc\ApiResponse.md)
- [Category](doc\Category.md)
- [Order](doc\Order.md)
- [Pet](doc\Pet.md)
- [Tag](doc\Tag.md)
- [User](doc\User.md)
- [ApiResponse](doc/ApiResponse.md)
- [Category](doc/Category.md)
- [Order](doc/Order.md)
- [Pet](doc/Pet.md)
- [Tag](doc/Tag.md)
- [User](doc/User.md)


## Documentation For Authorization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,50 +102,50 @@ Class | Method | HTTP request | Description

## Documentation For Models

- [AdditionalPropertiesClass](doc\AdditionalPropertiesClass.md)
- [Animal](doc\Animal.md)
- [ApiResponse](doc\ApiResponse.md)
- [ArrayOfArrayOfNumberOnly](doc\ArrayOfArrayOfNumberOnly.md)
- [ArrayOfNumberOnly](doc\ArrayOfNumberOnly.md)
- [ArrayTest](doc\ArrayTest.md)
- [Capitalization](doc\Capitalization.md)
- [Cat](doc\Cat.md)
- [CatAllOf](doc\CatAllOf.md)
- [Category](doc\Category.md)
- [ClassModel](doc\ClassModel.md)
- [Dog](doc\Dog.md)
- [DogAllOf](doc\DogAllOf.md)
- [EnumArrays](doc\EnumArrays.md)
- [EnumTest](doc\EnumTest.md)
- [FileSchemaTestClass](doc\FileSchemaTestClass.md)
- [Foo](doc\Foo.md)
- [FormatTest](doc\FormatTest.md)
- [HasOnlyReadOnly](doc\HasOnlyReadOnly.md)
- [HealthCheckResult](doc\HealthCheckResult.md)
- [InlineResponseDefault](doc\InlineResponseDefault.md)
- [MapTest](doc\MapTest.md)
- [MixedPropertiesAndAdditionalPropertiesClass](doc\MixedPropertiesAndAdditionalPropertiesClass.md)
- [Model200Response](doc\Model200Response.md)
- [ModelClient](doc\ModelClient.md)
- [ModelEnumClass](doc\ModelEnumClass.md)
- [ModelFile](doc\ModelFile.md)
- [ModelList](doc\ModelList.md)
- [ModelReturn](doc\ModelReturn.md)
- [Name](doc\Name.md)
- [NullableClass](doc\NullableClass.md)
- [NumberOnly](doc\NumberOnly.md)
- [Order](doc\Order.md)
- [OuterComposite](doc\OuterComposite.md)
- [OuterEnum](doc\OuterEnum.md)
- [OuterEnumDefaultValue](doc\OuterEnumDefaultValue.md)
- [OuterEnumInteger](doc\OuterEnumInteger.md)
- [OuterEnumIntegerDefaultValue](doc\OuterEnumIntegerDefaultValue.md)
- [OuterObjectWithEnumProperty](doc\OuterObjectWithEnumProperty.md)
- [Pet](doc\Pet.md)
- [ReadOnlyFirst](doc\ReadOnlyFirst.md)
- [SpecialModelName](doc\SpecialModelName.md)
- [Tag](doc\Tag.md)
- [User](doc\User.md)
- [AdditionalPropertiesClass](doc/AdditionalPropertiesClass.md)
- [Animal](doc/Animal.md)
- [ApiResponse](doc/ApiResponse.md)
- [ArrayOfArrayOfNumberOnly](doc/ArrayOfArrayOfNumberOnly.md)
- [ArrayOfNumberOnly](doc/ArrayOfNumberOnly.md)
- [ArrayTest](doc/ArrayTest.md)
- [Capitalization](doc/Capitalization.md)
- [Cat](doc/Cat.md)
- [CatAllOf](doc/CatAllOf.md)
- [Category](doc/Category.md)
- [ClassModel](doc/ClassModel.md)
- [Dog](doc/Dog.md)
- [DogAllOf](doc/DogAllOf.md)
- [EnumArrays](doc/EnumArrays.md)
- [EnumTest](doc/EnumTest.md)
- [FileSchemaTestClass](doc/FileSchemaTestClass.md)
- [Foo](doc/Foo.md)
- [FormatTest](doc/FormatTest.md)
- [HasOnlyReadOnly](doc/HasOnlyReadOnly.md)
- [HealthCheckResult](doc/HealthCheckResult.md)
- [InlineResponseDefault](doc/InlineResponseDefault.md)
- [MapTest](doc/MapTest.md)
- [MixedPropertiesAndAdditionalPropertiesClass](doc/MixedPropertiesAndAdditionalPropertiesClass.md)
- [Model200Response](doc/Model200Response.md)
- [ModelClient](doc/ModelClient.md)
- [ModelEnumClass](doc/ModelEnumClass.md)
- [ModelFile](doc/ModelFile.md)
- [ModelList](doc/ModelList.md)
- [ModelReturn](doc/ModelReturn.md)
- [Name](doc/Name.md)
- [NullableClass](doc/NullableClass.md)
- [NumberOnly](doc/NumberOnly.md)
- [Order](doc/Order.md)
- [OuterComposite](doc/OuterComposite.md)
- [OuterEnum](doc/OuterEnum.md)
- [OuterEnumDefaultValue](doc/OuterEnumDefaultValue.md)
- [OuterEnumInteger](doc/OuterEnumInteger.md)
- [OuterEnumIntegerDefaultValue](doc/OuterEnumIntegerDefaultValue.md)
- [OuterObjectWithEnumProperty](doc/OuterObjectWithEnumProperty.md)
- [Pet](doc/Pet.md)
- [ReadOnlyFirst](doc/ReadOnlyFirst.md)
- [SpecialModelName](doc/SpecialModelName.md)
- [Tag](doc/Tag.md)
- [User](doc/User.md)


## Documentation For Authorization
Expand Down
Loading

0 comments on commit 28c3e1d

Please sign in to comment.