openapi-generator/docs/generators/powershell.md
Jim Schubert 644f720db8
[docs] Sorted doc outputs and clean up duplicated CliOptions (#5046)
* [config-help] Sort all outputs

* Remove old/stale generator docs (these have been renamed previously)

* Sort config doc outputs, making it easier to find relevant info

* Fixes cliOptions duplicates

Erlang client/proper improperly set the version option as packageName
(causing duplicate for packageName).

The java and swift option removals are because the options are added in
parent classes, resulting in duplication of the options.

* Add --github-nested-index for generating docs/generators/README.md

* 📝 Regenerate generator docs
2020-01-19 20:19:11 -05:00

2.3 KiB

title sidebar_label
Config Options for powershell powershell
Option Description Values Default
csharpClientPath Path to the C# API client generated by OpenAPI Generator, e.g. $ScriptDir..\csharp\OpenAPIClient where $ScriptDir is the current directory. NOTE: you will need to generate the C# API client separately. $ScriptDir\csharp\OpenAPIClient
packageGuid GUID for PowerShell module (e.g. a27b908d-2a20-467f-bc32-af6f3a654ac5). A random GUID will be generated by default. null
packageName Client package name (e.g. org.openapitools.client). Org.OpenAPITools

IMPORT MAPPING

Type/Alias Imports
Array java.util.List
ArrayList java.util.ArrayList
BigDecimal java.math.BigDecimal
Date java.util.Date
DateTime org.joda.time.*
File java.io.File
HashMap java.util.HashMap
List java.util.*
LocalDate org.joda.time.*
LocalDateTime org.joda.time.*
LocalTime org.joda.time.*
Map java.util.Map
Set java.util.*
Timestamp java.sql.Timestamp
URI java.net.URI
UUID java.util.UUID

INSTANTIATION TYPES

Type/Alias Instantiated By

LANGUAGE PRIMITIVES

  • Boolean
  • Byte
  • Byte[]
  • Char
  • Decimal
  • Double
  • Guid
  • Int16
  • Int32
  • Int64
  • ProgressRecord
  • SByte
  • SecureString
  • Single
  • String
  • System.DateTime
  • TimeSpan
  • UInt16
  • UInt32
  • UInt64
  • Uri
  • Version
  • XmlDocument

RESERVED WORDS

  • Begin
  • Break
  • Catch
  • Continue
  • Data
  • Do
  • Dynamicparam
  • Else
  • Elseif
  • End
  • Exit
  • Filter
  • Finally
  • For
  • Foreach
  • From
  • Function
  • If
  • In
  • Local
  • Param
  • Private
  • Process
  • Return
  • Switch
  • Throw
  • Trap
  • Try
  • Until
  • Where
  • While