forked from loafle/openapi-generator-original
* avro-schema generation fix for arrays with ref to enum (or any non primitive type) to include modelPackage prefix * sample scenario and generated outputs for avro-schema * create avro-schema dedicated test file
37 lines
662 B
JSON
37 lines
662 B
JSON
{
|
|
"namespace": "model",
|
|
"type": "record",
|
|
"doc": "Describes the result of uploading an image resource",
|
|
"name": "ApiResponse",
|
|
"fields": [
|
|
{
|
|
"name": "code",
|
|
"type": ["null", "int"],
|
|
"doc": "",
|
|
"default": null
|
|
},
|
|
{
|
|
"name": "type",
|
|
"type": ["null", "string"],
|
|
"doc": "",
|
|
"default": null
|
|
},
|
|
{
|
|
"name": "message",
|
|
"type": ["null", "string"],
|
|
"doc": "",
|
|
"default": null
|
|
},
|
|
{
|
|
"name": "statuses",
|
|
"type": ["null", {
|
|
"type": "array",
|
|
"items": "model.ApiResponseStatuses"
|
|
}],
|
|
"doc": "",
|
|
"default": null
|
|
}
|
|
]
|
|
|
|
}
|