Skip to content

Commit f5628c1

Browse files
authored
Merge pull request #2 from niaid/sample-gen
docs updates
2 parents f75a501 + 124b577 commit f5628c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/generators/typescript-angular.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
2727
|enumPropertyNaming|Naming convention for enum properties: 'camelCase', 'PascalCase', 'snake_case', 'UPPERCASE', and 'original'| |PascalCase|
2828
|enumUnknownDefaultCase|If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.|<dl><dt>**false**</dt><dd>No changes to the enum's are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case.</dd></dl>|false|
2929
|fileNaming|Naming convention for the output files: 'camelCase', 'kebab-case'.| |camelCase|
30+
|httpOptionsName|The name for optional http options in client API services| |options|
3031
|legacyDiscriminatorBehavior|Set to false for generators with better support for discriminators. (Python, Java, Go, PowerShell, C# have this enabled by default).|<dl><dt>**true**</dt><dd>The mapping in the discriminator includes descendent schemas that allOf inherit from self and the discriminator mapping schemas in the OAS document.</dd><dt>**false**</dt><dd>The mapping in the discriminator includes any descendent schemas that allOf inherit from self, any oneOf schemas, any anyOf schemas, any x-discriminator-values, and the discriminator mapping schemas in the OAS document AND Codegen validates that oneOf and anyOf schemas contain the required discriminator and throws an error if the discriminator is missing.</dd></dl>|true|
3132
|modelFileSuffix|The suffix of the file of the generated model (model&lt;suffix&gt;.ts).| |null|
3233
|modelPropertyNaming|Naming convention for the property: 'camelCase', 'PascalCase', 'snake_case' and 'original', which keeps the original name. Only change it if you provide your own run-time code for (de-)serialization of models| |original|
@@ -50,7 +51,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
5051
|taggedUnions|Use discriminators to create tagged unions instead of extending interfaces.| |false|
5152
|useSingleRequestParameter|Setting this property to true will generate functions with a single argument containing all API endpoint parameters instead of one argument per parameter.| |false|
5253
|withInterfaces|Setting this property to true will generate interfaces next to the default class implementations.| |false|
53-
|httpOptionsName|Setting this property will provide a custom name for API client service options?| |options|
5454

5555
## IMPORT MAPPING
5656

0 commit comments

Comments
 (0)