ballerina-library icon indicating copy to clipboard operation
ballerina-library copied to clipboard

`openapi:ServiceInfo` annotation is not working properly for nil values

Open SasinduDilshara opened this issue 9 months ago • 2 comments

import ballerina/openapi;
import ballerina/http;

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

In here the ballerina-openapi tool will read the version as string representation of(). It should be null

SasinduDilshara avatar May 02 '24 05:05 SasinduDilshara