docusign / OpenAPI-Specifications

The official Docusign REST APIs Swagger Specifications
MIT License
19 stars 15 forks source link

ESignature 2.1 number and date definitions are being ignored by OpenAPI Generator for some languages #75

Closed nathany-copia closed 1 year ago

nathany-copia commented 1 year ago

For some languages (I'm using Elixir), the "number" definition and "date" definition are being mapped to built-in types instead of the DocuSign provided type definitions.

The current workaround is to edit the OpenAPI spec to rename these definitions and the references to them. See: https://github.com/neilberkman/docusign_elixir/pull/37

This may be a bug in OpenAPI Generator specific to Elixir, but I was wondering if anyone is seeing this problem with other languages?

InbarGazit commented 1 year ago

The names of all tabs elements should have the "Tab" postfix. Should be DateTab, NumberTab, TextTab. This avoids the issue with reserved words in some languages for things like "Date" or "Number" or even "Text"

nathany-copia commented 1 year ago

❓ ❓

nathany-copia commented 1 year ago

I don't see any changes to the spec, so why is this completed?

It remains an issue that the spec for ESignature has definitions for "date" and "number".