File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -502,7 +502,7 @@ stages:
502502 - template : generation-templates/java-kiota.yml
503503 parameters :
504504 repoName : msgraph-sdk-java
505- pathToGeneratedModels : src/main/java/ com/microsoft/graph/generated/
505+ namespacePath : com/microsoft/graph
506506
507507- stage : stage_java_beta_kiota
508508 dependsOn :
@@ -532,7 +532,7 @@ stages:
532532 - template : generation-templates/java-kiota.yml
533533 parameters :
534534 repoName : msgraph-beta-sdk-java
535- pathToGeneratedModels : src/main/java/ com/microsoft/graph/beta/generated/
535+ namespacePath : com/microsoft/graph/beta
536536
537537
538538- stage : stage_php_beta_kiota
Original file line number Diff line number Diff line change 11parameters :
22- name : repoName
33 type : string
4- - name : pathToGeneratedModels
4+ - name : namespacePath
55 type : string
66
77steps :
88- pwsh : ' $(scriptsDirectory)/clean-java-files-kiota.ps1'
99 displayName : ' Remove generated models and requests from the repo'
1010 env :
11- MainDirectory : $(Build.SourcesDirectory)/${{ parameters.repoName }}/${{ parameters.pathToGeneratedModels }}
11+ MainDirectory : $(Build.SourcesDirectory)/${{ parameters.repoName }}/src/main/java/ ${{ parameters.namespacePath }}/generated/
1212
1313- pwsh : ' $(scriptsDirectory)/copy-java-models-kiota.ps1'
1414 displayName : ' Update with new models'
1515 env :
1616 BuildConfiguration : $(buildConfiguration)
17- OutputFullPath : $(kiotaDirectory)/output/*
18- RepoModelsDir : $(Build.SourcesDirectory)/${{ parameters.repoName }}/${{ parameters.pathToGeneratedModels }}
17+ OutputFullPath : $(kiotaDirectory)/output/${{ parameters.namespacePath }}/ *
18+ RepoModelsDir : $(Build.SourcesDirectory)/${{ parameters.repoName }}/src/main/java/ ${{ parameters.namespacePath }}/generated/
You can’t perform that action at this time.
0 commit comments