Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate separate service files automatically based on the tags in OpenAPI defintion #5190

Closed
RakhithaRR opened this issue Oct 6, 2022 · 1 comment

Comments

@RakhithaRR
Copy link

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

@lnash94
Copy link
Member

lnash94 commented Apr 25, 2024

#5152

@lnash94 lnash94 closed this as completed Apr 25, 2024
This issue is being transferred. Timeline may not be complete until it finishes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants