for the first question about GDS pointing to S3, we have not tested that scenario so it's uncharted territory. You can store the generated PDF per your requirements and return that URL to the calling application.
Here is the link to the article which explains how to POST binary content using swagger file. In this tutorial download the article assets and upload them into your aem server. In that assets package is the swagger file which shows you how to send binary data