File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -502,6 +502,7 @@ stages:
502502 - template : generation-templates/java-kiota.yml
503503 parameters :
504504 repoName : msgraph-sdk-java
505+ namespacePath : com/microsoft/graph
505506
506507- stage : stage_java_beta_kiota
507508 dependsOn :
@@ -524,13 +525,15 @@ stages:
524525 baseBranchName : ' feature/6.0'
525526 branchName : ' kiota/$(betaBranch)'
526527 targetClassName : " BaseGraphServiceClient"
527- targetNamespace : " com.Microsoft.Graph"
528+ targetNamespace : " com.Microsoft.Graph.Beta "
528529 cleanMetadataFolder : $(cleanOpenAPIFolderBeta)
529530 customArguments : " -b -e '/me' -e '/me/**'" # Exclude /me/** and enable backing store
530531 languageSpecificSteps :
531532 - template : generation-templates/java-kiota.yml
532533 parameters :
533534 repoName : msgraph-beta-sdk-java
535+ namespacePath : com/microsoft/graph/beta
536+
534537
535538- stage : stage_php_beta_kiota
536539 dependsOn :
Original file line number Diff line number Diff line change 11parameters :
22- name : repoName
33 type : string
4+ - name : namespacePath
5+ type : string
46
57steps :
68- pwsh : ' $(scriptsDirectory)/clean-java-files-kiota.ps1'
79 displayName : ' Remove generated models and requests from the repo'
810 env :
9- MainDirectory : $(Build.SourcesDirectory)/${{ parameters.repoName }}/src/main/java/com/microsoft/graph /
11+ MainDirectory : $(Build.SourcesDirectory)/${{ parameters.repoName }}/src/main/java/${{ parameters.namespacePath }}/generated /
1012
1113- pwsh : ' $(scriptsDirectory)/copy-java-models-kiota.ps1'
1214 displayName : ' Update with new models'
1315 env :
1416 BuildConfiguration : $(buildConfiguration)
15- OutputFullPath : $(kiotaDirectory)/output/*
16- RepoModelsDir : $(Build.SourcesDirectory)/${{ parameters.repoName }}/src/main/java/
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