GSA-TTS / identity-idva-usps

Other
1 stars 4 forks source link

Feature/swagger redoc integration #11

Closed shumatepf closed 3 years ago

shumatepf commented 3 years ago

Integrate OpenAPI/swagger file generation and add swagger/redoc viewing options. The Django Rest Framework must be used for swagger integration. No functionality of the existing endpoint has been changed except for a DRF decorator that allows for swagger schema generation to occur.

shumatepf commented 3 years ago

Screenshots of the generated redoc UI:

Screenshot 2021-04-28 131146 Screenshot 2021-04-28 131216 Screenshot 2021-04-28 131247
folksgl commented 3 years ago

The middle_name, and suffix fields are both optional, and the docs should reflect that.