ballerina-platform/ballerina-library

`version` filed in `openapi:ServiceInfo` is not working properly

Closed this issue · 1 comments

import ballerina/openapi;
import ballerina/http;

@openapi:ServiceInfo {
    version: ()
}
service /sales0 on new http:Listener(9505) {
}

In the above code version field is not read properly by ballerina openapi-tool.
If we gives 'version instead of version it works properly

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.