Created by: mfyuce
- A class that has an
anyOf
specification, in cpp side will have no members: instead it should have a member having the typestringenumclassname_anyOf
- Thus, Its
==
operator is not present or wrongly filled - A string enum, should have a better usage, hence the
setEnumValue
- this PR, is a brigde between
stringenumclassname_**anyOf**
andstringenumclassname
-
anyOf
specification is not just aboutEnums
, so a better handling is needed from mustache templates, hence new template model parameterisStringEnumContainer
(Continuing from #1317 (closed) )
PR checklist
- [ X] Read the contribution guidelines.
- [ X] Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community.
- [X ] Run the following to build the project and update samples:
./mvnw clean package ./bin/generate-samples.sh ./bin/utils/export_docs_generators.sh
./bin/generate-samples.sh bin/configs/java*
. For Windows users, please run the script in Git BASH. -
File the PR against the correct branch: master
,5.1.x
,6.0.x
-
If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.
@ravinikam (2017/07) @stkrwork (2017/07) @etherealjoy (2018/02) @MartinDelille (2018/03) @muttleyxd (2019/08)