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

Convert claim management API from swagger 2.0 to OpenAPI 3.0 #22171

Open
AnuradhaSK opened this issue Jan 6, 2025 · 0 comments
Open

Convert claim management API from swagger 2.0 to OpenAPI 3.0 #22171

AnuradhaSK opened this issue Jan 6, 2025 · 0 comments

Comments

@AnuradhaSK
Copy link
Contributor

Current Limitation

  1. The claim management API is written in swagger 2.0
  2. swagger2cxf-maven-plugin is used for class generation https://github.com/wso2/identity-api-server/blob/557496e7cbbb7f14ec235ec7040a3996133dabac/components/org.wso2.carbon.identity.api.server.claim.management/org.wso2.carbon.identity.rest.api.server.claim.management.v1/pom.xml#L41-L49
  3. This plugging is not supporting classMapping configuration now
  4. Also the gen folder https://github.com/wso2/identity-api-server/tree/master/components/org.wso2.carbon.identity.api.server.claim.management/org.wso2.carbon.identity.rest.api.server.claim.management.v1/src/gen/java/org/wso2/carbon/identity/rest/api/server/claim/management/v1 classes have been manually formated. Therefore, it is hard to do new changes to API

Suggested Improvement

Convert the API to OpenAPI 3.0 and change the API generator. Same time keep the newly generated files without manual modification

Version

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant