-
Notifications
You must be signed in to change notification settings - Fork 0
New PodeOAServerEndpoint
Creates an OpenAPI Server Object.
New-PodeOAServerEndpoint [[-ServerEndpointList] <Hashtable[]>] -Url <String> [-Description <String>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Creates an OpenAPI Server Object to use with Add-PodeOAExternalRoute
New-PodeOAServerEndpoint -Url 'https://myserver.io/api' -Description 'My test server'
New-PodeOAServerEndpoint -Url '/api' -Description 'My local server'
An optional string describing the host designated by the URL. [CommonMark syntax](https://spec.commonmark.org/) MAY be used for rich text representation.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Used for piping
Type: Hashtable[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the OpenAPI document is being served. Variable substitutions will be made when a variable is named in `{`brackets`}`.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
sss
x