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
This @openapi:ResourceInfo annotation is currently available in only the service declaration node, Therefore we need to have the same behaviour in the service contract type as well.
importballerina/http;
importballerina/openapi;
# Optional multiline or single-line description in [CommonMark](http://commonmark.org/help/) or HTML.
@http:ServiceConfig {basePath:"/v1"}
typeOASServiceTypeserviceobject {
*http:ServiceContract;
@openapi:ResourceInfo{
...
}
resourcefunction post users() returnsstring[];
};
And then we need to map those annotation details into the generated OpenAPI spec as well.
Version
2201.10.0
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered:
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.
Description
No response
Steps to Reproduce
This
@openapi:ResourceInfo
annotation is currently available in only the service declaration node, Therefore we need to have the same behaviour in the service contract type as well.And then we need to map those annotation details into the generated OpenAPI spec as well.
Version
2201.10.0
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered: