Created by: fokot
Hi @clasnake (2017/07), @jimschubert (2017/09) , @shijinkui (2018/01), @ramzimaalej (2018/03), @chameleon82 (2020/03), @Bouillie (2020/04)
- This adds oneOf support for Lagom. I can not use
sealed trait
andFormat
derivation as generator generates every class to separate file. - And it support only one way of writing this in openapi - that is you need to have type which as
oneOf
attribute not just a property. - Files in
/generated
folder are what will be generated fromoneoOfDiscriminatorSimple.yaml
. I will remove them they are here so just you can tell what you think bout that without running it.
What do you think? Merging it would help our team. Thanks
PR checklist
- [ x ] Read the contribution guidelines.
- [ x ] If contributing template-only or documentation-only changes which will change sample output, build the project beforehand.
- [ x ] Run the shell script
./bin/generate-samples.sh
to update all Petstore samples related to your fix. This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master. These must match the expectations made by your contribution. You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example./bin/generate-samples.sh bin/config/java*
. For Windows users, please run the script in Git BASH. - [ x ] File the PR against the correct branch:
master
- [ x ] Copy the technical committee to review the pull request if your PR is targeting a particular programming language.