Last active
January 19, 2023 01:39
-
-
Save brianpursley/fedc16f66a57c4621b85a2b0e04f7b68 to your computer and use it in GitHub Desktop.
OpenAPI for testing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"definitions": { | |
"org.apache.camel.v1.Integration": { | |
"description": "Integration is the Schema for the integrations API", | |
"properties": { | |
"spec": { | |
"description": "the desired Integration specification", | |
"properties": { | |
"template": { | |
"description": "Pod template customization", | |
"properties": { | |
"spec": { | |
"description": "the specification", | |
"properties": { | |
"containers": { | |
"description": "Containers", | |
"type": "array", | |
"x-kubernetes-patch-merge-key": "name", | |
"x-kubernetes-patch-strategy": "merge" | |
} | |
}, | |
"required": ["containers"], | |
"type": "object" | |
} | |
}, | |
"type": "object" | |
} | |
}, | |
"type": "object" | |
} | |
}, | |
"type": "object", | |
"x-kubernetes-group-version-kind": [ | |
{ | |
"group": "camel.apache.org", | |
"kind": "Integration", | |
"version": "v1" | |
} | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# openapi | |
{ | |
"definitions": { | |
"org.apache.camel.v1.Integration": { | |
"description": "Integration is the Schema for the integrations API", | |
"properties": { | |
"spec": { | |
"description": "the desired Integration specification", | |
"properties": { | |
"template": { | |
"description": "Pod template customization", | |
"properties": { | |
"spec": { | |
"description": "the specification", | |
"properties": { | |
"containers": { | |
"description": "Containers", | |
"type": "array", | |
"x-kubernetes-patch-merge-key": "name", | |
"x-kubernetes-patch-strategy": "merge" | |
} | |
}, | |
"required": ["containers"], | |
"type": "object" | |
} | |
}, | |
"type": "object" | |
} | |
}, | |
"type": "object" | |
} | |
}, | |
"type": "object", | |
"x-kubernetes-group-version-kind": [ | |
{ | |
"group": "camel.apache.org", | |
"kind": "Integration", | |
"version": "v1" | |
} | |
] | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"definitions": { | |
"org.apache.camel.v1.Integration": { | |
"description": "Integration is the Schema for the integrations API", | |
"properties": { | |
"spec": { | |
"description": "the desired Integration specification", | |
"properties": { | |
"template": { | |
"description": "Pod template customization", | |
"properties": { | |
"spec": { | |
"description": "the specification", | |
"properties": { | |
"containers": { | |
"description": "Containers", | |
"type": "array", | |
"x-kubernetes-patch-merge-key": "name", | |
"x-kubernetes-patch-strategy": "merge" | |
} | |
}, | |
"required": ["containers"], | |
"type": "object" | |
} | |
}, | |
"type": "object" | |
} | |
}, | |
"type": "object" | |
} | |
}, | |
"type": "object", | |
"x-kubernetes-group-version-kind": [ | |
{ | |
"group": "camel.apache.org", | |
"kind": "Integration", | |
"version": "v1" | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment