You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Empty header added to the API ( @headers() ) when there no operationId. This is giving runtime error java.lang.IllegalArgumentException: @Headers annotation is empty.
Remove the empty header or add auto-generated operationId like "X-Operation-ID: deviceGet"
Empty operationId found for path: get /devices. Renamed to auto-generated operationId: devicesGet
Ex:
Bellow endpoint doesn't include opertationID which add empty @Headers() while generating the code.
"/devices": {
"get": {
"summary": "Fetch a list of Devices",
"description": "Without any params, returns a list of the user's devices",
"tags": [
"Device"
],
"parameters": [
{
"$ref": "#/parameters/all"
},
{
"$ref": "#/parameters/userId"
},
{
"name": "id",
"in": "query",
"description": "To fetch one or more devices. Multiple params can be passed like `id=31&id=42`",
"required": false,
"type": "integer",
"collectionFormat": "multi"
},
{
"name": "uniqueId",
"in": "query",
"description": "To fetch one or more devices. Multiple params can be passed like `uniqueId=333331&uniqieId=44442`",
"required": false,
"type": "string",
"collectionFormat": "multi"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/Device"
}
}
},
"400": {
"description": "No permission"
}
}
}
The text was updated successfully, but these errors were encountered:
Empty header added to the API ( @headers() ) when there no
operationId
. This is giving runtime errorjava.lang.IllegalArgumentException: @Headers annotation is empty.
Remove the empty header or add auto-generated operationId like "X-Operation-ID: deviceGet"
Ex:
Bellow endpoint doesn't include
opertationID
which add empty@Headers()
while generating the code.The text was updated successfully, but these errors were encountered: