Closed
Description
Bug Report Checklist
- Have you provided a full/minimal spec to reproduce the issue?
- Have you validated the input using an OpenAPI validator (example)?
- What's the version of OpenAPI Generator used?
- Have you search for related issues/PRs?
- What's the actual output vs expected output?
- [Optional] Bounty to sponsor the fix (example)
Description
openapi-generator version: 4.3.0
OpenAPI declaration file content or url
"paths":{
"/orgs/{org}/tbrs/reservation":{
"post":{
"x-vmc-ui-servicename":"tbrs",
"responses":{
"200":{
"description":"Successful response",
"schema":{
"additionalProperties":{
"items":{
"$ref":"#/definitions/ReservationWindow"
},
"type":"array"
},
"type":"object"
}
},
"400":{
"description":"Bad Call",
"schema":{
"$ref":"#/definitions/ErrorResponse"
}
},
"401":{
"description":"Unauthorized",
"schema":{
"$ref":"#/definitions/ErrorResponse"
}
},
"403":{
"description":"Forbidden",
"schema":{
"$ref":"#/definitions/ErrorResponse"
}
}
},
"parameters":[
{
"$ref":"#/parameters/orgParam"
},
{
"in":"body",
"description":"SDDCs and/or states to query",
"name":"sddcState",
"schema":{
"$ref":"#/definitions/SddcStateRequest"
}
}
],
"tags":[
"tbrs"
],
"x-vmw-vapi-methodname":"post",
"description":"Retreive all reservations for all SDDCs in this org"
}
}
}
Command line used for generation
openapi-generator generate -i /Users/ngp/vmspecfiles/vmsdummyspec.json -g java -o /Users/ngp/vmcopenapisdk2
Steps to reproduce
after implementation client SDK Is generated try to compile the using mvn clean package will end up in the following error.
symbol ReservationWindow not found