Skip to content

New SDK request: Golang SDK for DropboxSign #313

Open

Description

@abhishekdas29

Hello Team,

Do you have any plans for supporting the golang SDK generated from the OpenAPI specs?

I have a fork of the repo and have a draft PR to have it generated. I don't know if this is something which you want to bring in.
abhishekdas29#1

Activity

  1. jtreminio-dropbox commented on Oct 11, 2023

    @jtreminio-dropbox
    Contributor

    Unfortunately one of the hacky fixes we were forced to add to our OpenAPI spec was setting all endpoints as application/json first, and multipart/form-data second (if needed).

    This is due to all the other generators creating completely different code depending on the request content type (multipart/form-data creating API methods where all arguments are listed, vs a single typed object).

    This does not appear to be the case for the Golang generator, but I don't see that it correctly switches to multipart/form-data when a file upload is detected.

    We would need to apply the same logic to this new Golang SDK to consider it.

    edit: I'm not great with Golang, so apologies upfront if your PR already does the above!

  2. abhishekdas29 commented on Oct 15, 2023

    @abhishekdas29
    Author

    @jtreminio-dropbox - So are you saying that the auto generated files were manually overwritten in the PHP and node sdk?

  3. jtreminio-dropbox commented on Oct 16, 2023

    @jtreminio-dropbox
    Contributor

    Yes, all of our currently supported SDKs had their mustache templates changed to support what I listed above. I only linked PHP and Node but we did this for all the other languages as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions