Comments (2)
Hi
Thanks for your quick reply!
Our CRDs are generated from Rust code which allows unsigned integers. However, it makes more sense to follow the Kubernetes spec. So thanks for pointing out that only int32 and int64 are supported. We'll adapt it on our side.
from kubernetes-client.
Hi @Mawi137 and thanks for your interest in the project!
According to the documentation uint
is not a supported format.
That said, from the OpenAPI spec:
An optional format modifier serves as a hint
more specifically:
However, format is an open value, so you can use any formats, even not those defined by the OpenAPI Specification
So I overall agree with relaxing the check.
We should remove this exception and fallback to the same as format == null
.
Nice to have: produce a warning in these situations.
Would you like to send a PR with the changes?
from kubernetes-client.
Related Issues (20)
- Release Fabric8 Kubernetes Client 6.13.0
- Kube API Test dependency not resolvable HOT 12
- Allow generated classes to implement additional interfaces HOT 4
- Release Fabric8 Kubernetes Client 6.12.1
- Unable to Generate List Class for CRD using java-generator-maven-plugin HOT 7
- CRD-Generator v2: Maven Plugin HOT 10
- CRD-Generator v2: Gradle Plugin HOT 1
- Deprecate v1beta1 crd generation
- CRD-Generator v2
- Expose additional options and a main method for crd generator v2
- Align crd generator v1 and v2 output HOT 3
- Enable parallel processing with crd-generator v2
- ResourceListTest.testCreateOrReplaceWithDeleteExisting flakiness HOT 2
- fabric8 generator cli and maven plugin returning different java method names HOT 4
- CRD-Generator v2: CLI Application HOT 1
- Change default serialization of time types
- Caused by: java.lang.NoClassDefFoundError: io/fabric8/kubernetes/api/builder/Fluent HOT 1
- Class name generation fails for fields with special characters using java-generator-maven-plugin HOT 3
- OOM error when using the Kubernetes client to query and operate the API server. HOT 19
- Reduce CacheImpl lock contention
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes-client.