Skip to content

Commit

Permalink
fix(openapi): proper handling of schema paths (x-kubernetes-group-ver…
Browse files Browse the repository at this point in the history
…sion-kind)

Signed-off-by: Marc Nuri <[email protected]>
  • Loading branch information
manusa committed Jul 23, 2024
1 parent 2c10927 commit c41b8bf
Show file tree
Hide file tree
Showing 14 changed files with 81 additions and 2,031 deletions.
5 changes: 4 additions & 1 deletion kubernetes-model-generator/kubernetes-model-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,9 @@
<settings combine.self="append">
<addBuildableReferences>false</addBuildableReferences>
<schemas>
<schema>${project.basedir}/../openapi/schemas/kubernetes-1.30.0.json</schema>
<schema>${openapi.schema.kubernetes-latest}</schema>
<schema>${project.basedir}/../openapi/schemas/api-machinery-extra.json</schema>
<schema>${project.basedir}/../openapi/schemas/kubernetes-config.json</schema>
<schema>${project.basedir}/../openapi/schemas/admission-registration.json</schema>
</schemas>
<packageMappings combine.self="append">
Expand All @@ -156,6 +157,8 @@
<includeGenerationRegexes>
<includeGenerationRegex>^io\.k8s\.api\.core\..*$</includeGenerationRegex>
<includeGenerationRegex>^io\.k8s\.apimachinery\..*$</includeGenerationRegex>
<includeGenerationRegex>^io\.k8s\.kube-aggregator\.pkg\.apis\.apiregistration\..*$</includeGenerationRegex>
<includeGenerationRegex>^io\.k8s\.client-go\.tools\.clientcmd\.api\.v1\..*$</includeGenerationRegex>
</includeGenerationRegexes>
</settings>
</configuration>
Expand Down
Loading

0 comments on commit c41b8bf

Please sign in to comment.