Describing contents of JWT token in OpenAPI

Viewed 285

I am building a REST API that uses data in the JWT token to perform some operations. (E.g. verifying the ownership of the data, so for some cases, I might send user_id or something like that in the JWT token).

Is that possible to describe the expected contents of the JWT token using OpenAPI?

1 Answers
Related