implements exampleSetFlag to flag deserialization of null example vs missing by frantuma · Pull Request #3637 · swagger-api/swagger-core (original) (raw)

@frantuma

This was referenced

Jul 16, 2020

This was referenced

Feb 5, 2023

This was referenced

Apr 19, 2023

ctasada pushed a commit to ctasada/springwolf-core that referenced this pull request

May 12, 2023

Fixes springwolf#169

The exampleSetFlag and types properties belong to swagger-core internals and are not part of the AsyncAPI specification.

See swagger-api/swagger-core#3637 (comment) for some details.

This PR replaces the custom JSON ObjectMapper by the swagger-core one, which already contains all the needed mixins to properly serialize the specification.

Fixes springwolf#169 for Json Serialization

ctasada pushed a commit to ctasada/springwolf-core that referenced this pull request

May 13, 2023

Fixes springwolf#169

The exampleSetFlag and types properties belong to swagger-core internals and are not part of the AsyncAPI specification.

See swagger-api/swagger-core#3637 (comment) for some details.

This PR replaces the custom JSON ObjectMapper by the swagger-core one, which already contains all the needed mixins to properly serialize the specification.

Fixes springwolf#169 for Json Serialization

timonback added a commit to springwolf/springwolf-core that referenced this pull request

May 27, 2023

@ctasada @timonback

Fixes #169

The exampleSetFlag and types properties belong to swagger-core internals and are not part of the AsyncAPI specification.

See swagger-api/swagger-core#3637 (comment) for some details.

This PR replaces the custom JSON ObjectMapper by the swagger-core one, which already contains all the needed mixins to properly serialize the specification.

Fixes #169 for Json Serialization

The swagger objectmapper uses jackson underneath. Besides registering serializers, also the mapper is configured automatically.


Co-authored-by: Timon Back timon.back+git@gmail.com

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})