Closed sachinvodafone closed 2 months ago
Could someone help me to validate the Linter errors that coming up ?
In the log appear a list of linting errors:
/github/workspace/code/API_definitions/device-status.yaml
452:12 warning camara-properties-descriptions Property description is missing or empty: "openId.description" property must be truthy components.securitySchemes.openId
475:27 warning camara-properties-descriptions Property description is missing or empty: "RoamingStatusResponse.description" property must be truthy components.schemas.RoamingStatusResponse
499:32 warning camara-properties-descriptions Property description is missing or empty: "ConnectivityStatusResponse.description" property must be truthy components.schemas.ConnectivityStatusResponse
557:20 hint camara-discriminator-use Ensure that API definition YAML files with oneOf or anyOf sections include a discriminator object for serialization, deserialization, and validation. components.schemas.DeviceIpv4Addr
610:26 warning camara-properties-descriptions Property description is missing or empty: "RequestRoamingStatus.description" property must be truthy components.schemas.RequestRoamingStatus
618:31 warning camara-properties-descriptions Property description is missing or empty: "RequestConnectivityStatus.description" property must be truthy components.schemas.RequestConnectivityStatus
626:15 warning camara-properties-descriptions Property description is missing or empty: "ErrorInfo.description" property must be truthy components.schemas.ErrorInfo
784:16 error oas3-valid-schema-example "example" property must match format "uuid" components.schemas.SubscriptionId.example
857:24 warning oas3-unused-component Potentially unused component has been detected. components.schemas.EventRoamingStatus
866:20 warning oas3-unused-component Potentially unused component has been detected. components.schemas.EventRoamingOn
875:21 warning oas3-unused-component Potentially unused component has been detected. components.schemas.EventRoamingOff
884:31 warning oas3-unused-component Potentially unused component has been detected. components.schemas.EventRoamingChangeCountry
893:27 warning oas3-unused-component Potentially unused component has been detected. components.schemas.EventConnectivityData
902:26 warning oas3-unused-component Potentially unused component has been detected. components.schemas.EventConnectivitySms
911:35 warning oas3-unused-component Potentially unused component has been detected. components.schemas.EventConnectivityDisconnected
920:27 warning oas3-unused-component Potentially unused component has been detected. components.schemas.EventSubscriptionEnds
1091:20 warning camara-properties-descriptions Property description is missing or empty: "ROAMING_STATUS.description" property must be truthy components.examples.ROAMING_STATUS
1[107](https://github.com/camaraproject/DeviceStatus/actions/runs/8847659758/job/24295924753?pr=146#step:6:114):17 warning camara-properties-descriptions Property description is missing or empty: "ROAMING_OFF.description" property must be truthy components.examples.ROAMING_OFF
1120:16 warning camara-properties-descriptions Property description is missing or empty: "ROAMING_ON.description" property must be truthy components.examples.ROAMING_ON
1133:28 warning camara-properties-descriptions Property description is missing or empty: "ROAMING_CHANGE_COUNTRY.description" property must be truthy components.examples.ROAMING_CHANGE_COUNTRY
1148:23 warning camara-properties-descriptions Property description is missing or empty: "CONNECTIVITY_DATA.description" property must be truthy components.examples.CONNECTIVITY_DATA
1161:22 warning camara-properties-descriptions Property description is missing or empty: "CONNECTIVITY_SMS.description" property must be truthy components.examples.CONNECTIVITY_SMS
1174:31 warning camara-properties-descriptions Property description is missing or empty: "CONNECTIVITY_DISCONNECTED.description" property must be truthy components.examples.CONNECTIVITY_DISCONNECTED
1187:23 warning camara-properties-descriptions Property description is missing or empty: "SUBSCRIPTION_ENDS.description" property must be truthy components.examples.SUBSCRIPTION_ENDS
It seems, we have included a wrong example set for 'UUID', so I have corrected the same. Thanks for looking into this
Could someone help me to validate the Linter errors that coming up ?
The error was on the uuid ? I saw a lot of warning but only one error
Anyway seems you solved it ;)
@akoshunyadi @sachinvodafone LGTM
It's okey from our side, we can proceed to merge. Thanks!
What type of PR is this? Add one of the following kinds:
correction
What this PR does / why we need it: The CAMARA version of the current DeviceStatus API lacks a crucial "lastStatusTime" field, resulting in inconsistent behavior across vendors. This absence poses challenges for application developers in determining the freshness of roaming status/connectivity data.
Which issue(s) this PR fixes: Fixes https://github.com/camaraproject/DeviceStatus/issues/110