Skip to content

Custom templates with custom conditionals can generate annotations #36

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

Open
matteh11 opened this issue Jan 25, 2024 · 0 comments
Open

Comments

@matteh11
Copy link

matteh11 commented Jan 25, 2024

Hi, we use your tool frequently and like it very much.

I have a feature request. We need to be able to generate annotations in the code based on custom vendor extensions in the schema on certain field.
e.g by adding a certain attribute x-custom-attribute to a certain field, I would like to in the mustasche template have a conditional that if set, generates an annotation in the resulting kotlin code.

We are using your gradle plugin and in it I see no option to specifiy custom templates.

Please see this for reference

https://github.com/vitalyros/swagger-generate-custom-annotations

Thanks

@matteh11 matteh11 changed the title Custom templates with custom conditional annotations Custom templates with custom conditionals can generate annotations Jan 25, 2024
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

1 participant