Generate separate service files automatically based on the tags in OpenAPI defintion #5152
Labels
Area/OpenapiToBallerina
Area/Service
IceBox
Older issues that are not being actively worked on but may be revisited in the future.
module/openapi-tools
Priority/Normal
Type/NewFeature
Description:
Currently, the ballerina openapi gen tool provides the
--tag
flag which can be used to generate separate service files manually. However, this is not easy when there are lots of resources with different tags. It would be helpful if there was a way to automatically generate service files based on the tags assigned for each resource in the OpenAPI definition.A sample definition can be found in [1].
[1] - https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1/src/main/resources/publisher-api.yaml
Describe your problem(s)
Describe your solution(s)
Related Issues (optional):
Suggested Labels (optional):
Suggested Assignees (optional):
@lnash94
The text was updated successfully, but these errors were encountered: