Comments (5)
Did some basic trouble-shooting. It looks like the schema for AutoScalingGroup includes a field for "tags" which is defined as an "array" and the items schema says it should be an array of "object" types.
However, properties field of this array is set to null
, which is breaking the page at
Line 109 in cb01d9f
Including the relevant "tags" schema below:
"tags":
{
"ID": "",
"Schema": "",
"Ref": null,
"Description": "",
"Type": "array",
"Nullable": false,
"Format": "",
"Title": "",
"Default": null,
"Maximum": null,
"ExclusiveMaximum": false,
"Minimum": null,
"ExclusiveMinimum": false,
"MaxLength": null,
"MinLength": null,
"Pattern": "",
"MaxItems": null,
"MinItems": null,
"UniqueItems": false,
"MultipleOf": null,
"Enum": null,
"MaxProperties": null,
"MinProperties": null,
"Required": null,
"Items":
{
"Schema":
{
"ID": "",
"Schema": "",
"Ref": null,
"Description": "",
"Type": "object",
"Nullable": false,
"Format": "",
"Title": "",
"Default": null,
"Maximum": null,
"ExclusiveMaximum": false,
"Minimum": null,
"ExclusiveMinimum": false,
"MaxLength": null,
"MinLength": null,
"Pattern": "",
"MaxItems": null,
"MinItems": null,
"UniqueItems": false,
"MultipleOf": null,
"Enum": null,
"MaxProperties": null,
"MinProperties": null,
"Required": null,
"Items": null,
"AllOf": null,
"OneOf": null,
"AnyOf": null,
"Not": null,
"Properties": null,
"AdditionalProperties":
{
"Allows": true,
"Schema":
{
"ID": "",
"Schema": "",
"Ref": null,
"Description": "",
"Type": "string",
"Nullable": false,
"Format": "",
"Title": "",
"Default": null,
"Maximum": null,
"ExclusiveMaximum": false,
"Minimum": null,
"ExclusiveMinimum": false,
"MaxLength": null,
"MinLength": null,
"Pattern": "",
"MaxItems": null,
"MinItems": null,
"UniqueItems": false,
"MultipleOf": null,
"Enum": null,
"MaxProperties": null,
"MinProperties": null,
"Required": null,
"Items": null,
"AllOf": null,
"OneOf": null,
"AnyOf": null,
"Not": null,
"Properties": null,
"AdditionalProperties": null,
"PatternProperties": null,
"Dependencies": null,
"AdditionalItems": null,
"Definitions": null,
"ExternalDocs": null,
"Example": null,
"XPreserveUnknownFields": null,
"XEmbeddedResource": false,
"XIntOrString": false,
"XListMapKeys": null,
"XListType": null,
"XMapType": null
}
},
"PatternProperties": null,
"Dependencies": null,
"AdditionalItems": null,
"Definitions": null,
"ExternalDocs": null,
"Example": null,
"XPreserveUnknownFields": null,
"XEmbeddedResource": false,
"XIntOrString": false,
"XListMapKeys": null,
"XListType": null,
"XMapType": null
},
"JSONSchemas": null
},
"AllOf": null,
"OneOf": null,
"AnyOf": null,
"Not": null,
"Properties": null,
"AdditionalProperties": null,
"PatternProperties": null,
"Dependencies": null,
"AdditionalItems": null,
"Definitions": null,
"ExternalDocs": null,
"Example": null,
"XPreserveUnknownFields": null,
"XEmbeddedResource": false,
"XIntOrString": false,
"XListMapKeys": null,
"XListType": null,
"XMapType": null
},
from doc.
This code block assumes that all "object" types have properties:
Lines 95 to 109 in cb01d9f
from doc.
@muvaf Could you confirm whether crdsdev needs to accommodate this type of schema or if this might be a bug in the generated type?
from doc.
@AaronME if the k8s api server accepts it then we should be accommodating it here 👍🏻 I'm working on some fixes
from doc.
@AaronME thanks for debugging! Seems like that field has the type of []map[string]*string
, which might be why.
from doc.
Related Issues (20)
- Improve Yaml Parsing & CRD Selection HOT 5
- Build crossplane configuration package
- Update README with project information HOT 3
- Add opentelemetry instrumentation
- upbound/platform-ref-aws broken HOT 2
- CRD not found HOT 1
- actions-runner-controller detected but unable to render HOT 1
- Repos forever unindexed HOT 1
- Proposal improvement to UI
- Crds not rendered HOT 3
- The page is broken HOT 2
- Add version diffs
- The future of doc.crds.dev HOT 10
- No CRDs discovered
- Feature Request: Allow missing version number at the end of the URL
- [Feature Request] Empty Tag will Serve Latest Version (Highest Semver) HOT 2
- [Feature Request] Ability to copy paste CRD to explore it
- Crossplane Upbound CRDs are timing out
- Unpkg down again
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 doc.