-
Beta Was this translation helpful? Give feedback.
Answered by
juhaku
May 12, 2023
Replies: 1 comment 2 replies
-
Hey, How does your api doc type derived from #[derive(OpenApi)]
#[openapi(
paths(compile_markdown_and_return_value)
components(
schemas(EditorContent)
)
)]
struct ApiDoc; |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Sirneij
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
How does your api doc type derived from
OpenApi
look? You need to register the schema with#[openapi(components(schemas(EditorContent)))]
to get it working.