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

Use ObjectName as discriminator's mapping key #78

Merged
merged 3 commits into from
Nov 6, 2023

Conversation

patrice-conil
Copy link
Collaborator

What type of PR is this?

Add one of the following kinds:

  • documentation

What this PR does / why we need it:

Encourage usage of Object Name as discriminator's mapping key to facilitate usage of Json serializer/deserializer

Which issue(s) this PR fixes:

Fixes #42

Special notes for reviewers:

Changelog input

Encourage usage of Object Name as discriminator's mapping key to facilitate usage of Json serializer/deserializer

Additional documentation

…section of discriminators.

Signed-off-by: Patrice Conil <patrice.conil@orange.com>
openapi --> OpenAPI
@rartych
Copy link
Collaborator

rartych commented Oct 26, 2023

I have modified the style of writing OpenAPI name to be aligned with other parts of the DG: 4949c52

rartych
rartych previously approved these changes Oct 26, 2023
Copy link
Collaborator

@rartych rartych left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rartych
Copy link
Collaborator

rartych commented Nov 3, 2023

@RubenBG7 @jordonezlucena Could you review this PR? As it was discussed: it is recommendation to simplify life of developers using code generators.

@jordonezlucena
Copy link
Collaborator

lgtm

@rartych rartych merged commit 3755022 into camaraproject:main Nov 6, 2023
@rartych
Copy link
Collaborator

rartych commented Nov 6, 2023

Merged as agreed in the call

@patrice-conil patrice-conil deleted the patrice-conil_issue42 branch December 4, 2023 16:56
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.

Usage of ClassName in Mappings section of discriminator
4 participants