Skip to content

Fixes async api encoding when using discriminator (#43).#178

Merged
adamw merged 1 commit into
softwaremill:masterfrom
zorba128:master
Jul 26, 2024
Merged

Fixes async api encoding when using discriminator (#43).#178
adamw merged 1 commit into
softwaremill:masterfrom
zorba128:master

Conversation

@zorba128

Copy link
Copy Markdown
Contributor

Customizes json schema encoding for purpose of async-api rendering in order to remove unsupported discriminator mapping (leaving only discriminator field name). This behavior with proposed rendering of const constraint for coproducts (softwaremill/tapir#3955) should allow correct rendering of async api spec for coproducts.

Signed-off-by: Marcin Kielar <marcin.kielar@superfund-technologies.com>
@adamw

adamw commented Jul 26, 2024

Copy link
Copy Markdown
Member

Thanks :)

@zorba128

Copy link
Copy Markdown
Contributor Author

Sorry - messed up things a bit, but noticed you already fixed it. Thanks, hope it will all work together :).

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.

2 participants