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

Add support to oneOf #64

Merged
merged 1 commit into from
Mar 29, 2015
Merged

Add support to oneOf #64

merged 1 commit into from
Mar 29, 2015

Conversation

igreenfield
Copy link
Contributor

No description provided.

@cowtowncoder
Copy link
Member

Sounds good to me.

Quick question: have I already asked for a CLA from you?

If not, we need to get a filled Contributor License Agreement (from https://github.com/FasterXML/jackson/blob/master/contributor-agreement.pdf) with basic info, and it will be good for any and all contributions for the Jackson project. Both individual and corporate ones I fine (you can choose, most contributors fill individual ones).

I can merge this as soon as we have CLA, and it will make it in 2.6.0 nicely.

@igreenfield
Copy link
Contributor Author

@cowtowncoder how do I pass you the CLA?

@cowtowncoder
Copy link
Member

Ah sorry, forgot that part :)

So, print, fill-in and scan, then email to info at fasterxml dot com.

Or modify document digitally to include signature pasted in.

@igreenfield
Copy link
Contributor Author

@cowtowncoder Done

cowtowncoder added a commit that referenced this pull request Mar 29, 2015
@cowtowncoder cowtowncoder merged commit 8d79756 into FasterXML:master Mar 29, 2015
@cowtowncoder cowtowncoder added this to the 2.6.0 milestone Mar 29, 2015
cowtowncoder added a commit that referenced this pull request Mar 29, 2015
@vibhor-cts
Copy link

@cowtowncoder @igreenfield I have a requirement wherein I want to generate schema from my java model, that schema should have oneOf attribute.
I could see the oneOf support is added in ContainerTypeSchema but not sure how I can use it in my usecase. Are there any annotations I can put on my property so that the property is serialized as oneOf in the schema or there is some other way? Could you please guide or post some sample code snippet here?

@cowtowncoder
Copy link
Member

@vibhor-cts I don't use this module myself so I can't help much. But you may want to ask on mailing lists; not many developers read issue reports.

@vibhor-cts
Copy link

@cowtowncoder Thanks for your quick reply. I will ask on mailing lists.

@igreenfield
Copy link
Contributor Author

@vibhor-cts Did you look at the test? you can find example there.

@vibhor-cts
Copy link

@igreenfield Nope.. My bad, will have a look now.

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

Successfully merging this pull request may close these issues.

3 participants