mirror of
https://github.com/versity/versitygw.git
synced 2026-02-09 03:40:08 +00:00
The xml encoding of the s3.ListBucketsOutput return type was not giving correct results when there is only a single bucket. This revives the old aws xsd schema and generated types that will give more accurate xml encoding results.
7 lines
204 B
Plaintext
7 lines
204 B
Plaintext
https://doc.s3.amazonaws.com/2006-03-01/AmazonS3.xsd
|
|
|
|
see https://blog.aqwari.net/xml-schema-go/
|
|
|
|
go install aqwari.net/xml/cmd/xsdgen@latest
|
|
xsdgen -o s3api_xsd_generated.go -pkg s3response AmazonS3.xsd
|