Skip to content

Update Swagger to 6.1.2#516

Merged
rowandh merged 4 commits intostratisproject:masterfrom
rowandh:swagger-6.1.2
Apr 16, 2021
Merged

Update Swagger to 6.1.2#516
rowandh merged 4 commits intostratisproject:masterfrom
rowandh:swagger-6.1.2

Conversation

@rowandh
Copy link
Contributor

@rowandh rowandh commented Apr 15, 2021

Update to latest version of swagger, necessary for future work to add dynamic contract endpoint.

This version removes Json.NET as the default JSON serializer, so I've added it back in and updated the way that string enum serialization is configured.

@rowandh rowandh requested review from StratisIain and fassadlr April 15, 2021 09:03
@rowandh
Copy link
Contributor Author

rowandh commented Apr 15, 2021

The swagger enum serialization here was only used to serialize enums to strings for display in swagger, and not as part of the json API. I believe it's safe to remove because there are no enums in our models.

@rowandh rowandh merged commit f4aa351 into stratisproject:master Apr 16, 2021
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