mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 12:40:53 +00:00
Merge branch 'fix_issue17024' of https://github.com/elonmallin/openapi-generator into elonmallin-fix_issue17024
This commit is contained in:
commit
2378c4123e
@ -39,7 +39,9 @@ function Get-FunctionsToExport {
|
||||
}
|
||||
|
||||
$ScriptDir = Split-Path $script:MyInvocation.MyCommand.Path
|
||||
$FunctionPath = 'Api', 'Model', 'Client' | ForEach-Object {Join-Path "$ScriptDir\src\{{{packageName}}}\" $_}
|
||||
$FunctionPath = 'Api', 'Model', 'Client' | Where-Object {
|
||||
Join-Path "$ScriptDir\src\{{{packageName}}}\" $_ | Test-Path
|
||||
} | ForEach-Object { Join-Path "$ScriptDir\src\{{{packageName}}}\" $_ }
|
||||
|
||||
$Manifest = @{
|
||||
Path = "$ScriptDir\src\{{{packageName}}}\{{{packageName}}}.psd1"
|
||||
|
@ -17,7 +17,9 @@ $Script:Configuration = [System.Collections.HashTable]@{}
|
||||
|
||||
$Script:CmdletBindingParameters = @('Verbose','Debug','ErrorAction','WarningAction','InformationAction','ErrorVariable','WarningVariable','InformationVariable','OutVariable','OutBuffer','PipelineVariable')
|
||||
|
||||
'Api', 'Model', 'Client', 'Private' | Get-ChildItem -Path {
|
||||
'Api', 'Model', 'Client', 'Private' | Where-Object {
|
||||
Join-Path $PSScriptRoot $_ | Test-Path
|
||||
} | Get-ChildItem -Path {
|
||||
Join-Path $PSScriptRoot $_
|
||||
} -Filter '*.ps1' | ForEach-Object {
|
||||
Write-Debug "Importing file: $($_.BaseName)"
|
||||
|
@ -45,7 +45,9 @@ function Get-FunctionsToExport {
|
||||
}
|
||||
|
||||
$ScriptDir = Split-Path $script:MyInvocation.MyCommand.Path
|
||||
$FunctionPath = 'Api', 'Model', 'Client' | ForEach-Object {Join-Path "$ScriptDir\src\PSPetstore\" $_}
|
||||
$FunctionPath = 'Api', 'Model', 'Client' | Where-Object {
|
||||
Join-Path "$ScriptDir\src\PSPetstore\" $_ | Test-Path
|
||||
} | ForEach-Object { Join-Path "$ScriptDir\src\PSPetstore\" $_ }
|
||||
|
||||
$Manifest = @{
|
||||
Path = "$ScriptDir\src\PSPetstore\PSPetstore.psd1"
|
||||
|
@ -23,7 +23,9 @@ $Script:Configuration = [System.Collections.HashTable]@{}
|
||||
|
||||
$Script:CmdletBindingParameters = @('Verbose','Debug','ErrorAction','WarningAction','InformationAction','ErrorVariable','WarningVariable','InformationVariable','OutVariable','OutBuffer','PipelineVariable')
|
||||
|
||||
'Api', 'Model', 'Client', 'Private' | Get-ChildItem -Path {
|
||||
'Api', 'Model', 'Client', 'Private' | Where-Object {
|
||||
Join-Path $PSScriptRoot $_ | Test-Path
|
||||
} | Get-ChildItem -Path {
|
||||
Join-Path $PSScriptRoot $_
|
||||
} -Filter '*.ps1' | ForEach-Object {
|
||||
Write-Debug "Importing file: $($_.BaseName)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user