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
The generated OAS includes RollingWindow fields as optional fields, but it should be marked as required since we currently cannot map a default value from a different package.
Version
2201.10.0
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered:
This is invalid. This is specific to ballerina to spec generation limitations. Even though we don't map the default value, ballerina program will anyway consider this as an optional filed. In that case, it is not correct to consider it as required. Ultimately, when we fix this default value limitation, it should remain as optional field. Hence closing this issue
Description
Follow the below example :
Steps to Reproduce
This
RollingWindow
record belongs to a different packagepackageA
if we are using it in the service from another package
The generated OAS includes
RollingWindow
fields as optional fields, but it should be marked as required since we currently cannot map a default value from a different package.Version
2201.10.0
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered: