APIFairy icon indicating copy to clipboard operation
APIFairy copied to clipboard

Support for JWT

Open ialdaverag opened this issue 1 year ago • 3 comments

Hi,

I'm documenting an API that uses Flask-JWT-Extended and wanted to use APIFairy to document it automatically, but I found that it only supports Flask-HTTPAuth.

Is there any way to use Flask-JWT-Extended, or is it necessary to modify the code to support it?

ialdaverag avatar Sep 15 '24 11:09 ialdaverag

If you want auth to be documented automatically the only way is with flask-httpauth. But you can always add the auth information manually and use another auth extension.

miguelgrinberg avatar Sep 15 '24 16:09 miguelgrinberg

Ok, I understand, but there's no problem if I fork the library and modify it, right?

ialdaverag avatar Sep 15 '24 23:09 ialdaverag

No problem at all.

miguelgrinberg avatar Sep 15 '24 23:09 miguelgrinberg