Skip to content

How to customize serialization #219

Answered by sunli829
gudaoxuri asked this question in Q&A
Discussion options

You must be logged in to vote

You cannot do this, poem-openapi does not use serde to support serialization, currently you can only define a new type and implement the poem_openapi::Type trait for it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gudaoxuri
Comment options

@sunli829
Comment options

Answer selected by gudaoxuri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants