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

Modify congen to include the tags property in case of OpenAPI, and the folders in case of Postman collection #2692

Open
Tracked by #757
markfarkas-camunda opened this issue Jun 3, 2024 · 0 comments
Assignees
Labels
kind:task Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.

Comments

@markfarkas-camunda
Copy link
Contributor

Epic: https://github.com/camunda/product-hub/issues/2049

What should we do?

We should modify the congen (element template generator) to include the tags (for OpenAPI), or the folders (for Postman).

Implementation suggestion:

  • add pathItem.getPost().getTags() in the OperationUtil.java
  • in PostmanOperationUtil.java in the extractOperation method, use the value of the opIdentifier variable to extract the foldername(s)

Why should we do it?

We should do this to provide proper info through the scan method which makes it possible to group the methods (multi-level grouping is also possible)

@markfarkas-camunda markfarkas-camunda added the kind:task Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc. label Jun 3, 2024
@markfarkas-camunda markfarkas-camunda self-assigned this Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:task Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.
Projects
None yet
Development

No branches or pull requests

1 participant