From 2d7e5095ed7ebe2ae7e837875d906bca466a12bf Mon Sep 17 00:00:00 2001 From: Juan Treminio Date: Mon, 16 Sep 2024 10:33:54 -0500 Subject: [PATCH] Updating custom template files --- sdks/dotnet/LICENSE | 2 +- sdks/dotnet/openapi-config.yaml | 8 +- ...lper.cs => dropbox-EventCallbackHelper.cs} | 0 .../dotnet/templates/dropbox-LICENSE.mustache | 21 + ...SION.mustache => dropbox-VERSION.mustache} | 0 sdks/java-v1/LICENSE | 2 +- sdks/java-v1/openapi-config.yaml | 8 +- ...e => dropbox-EventCallbackHelper.mustache} | 0 .../templates/dropbox-LICENSE.mustache | 21 + ...SION.mustache => dropbox-VERSION.mustache} | 0 sdks/java-v2/.github/workflows/maven.yml | 30 -- sdks/java-v2/LICENSE | 2 +- sdks/java-v2/openapi-config.yaml | 8 +- ...e => dropbox-EventCallbackHelper.mustache} | 0 .../templates/dropbox-LICENSE.mustache | 21 + ...SION.mustache => dropbox-VERSION.mustache} | 0 sdks/node/LICENSE | 2 +- sdks/node/openapi-config.yaml | 22 +- sdks/node/templates/dropbox-LICENSE.mustache | 21 + ...EADME.mustache => dropbox-README.mustache} | 0 ...SION.mustache => dropbox-VERSION.mustache} | 0 ...-doc.mustache => dropbox-api-doc.mustache} | 0 ...ex.mustache => dropbox-api-index.mustache} | 0 ...e => dropbox-eventCallbackHelper.mustache} | 0 ...oc.mustache => dropbox-model-doc.mustache} | 0 ....mustache => dropbox-model-index.mustache} | 0 .../{npmignore => dropbox-npmignore} | 0 ...{prettierrc.cjs => dropbox-prettierrc.cjs} | 0 sdks/php/LICENSE | 2 +- sdks/php/openapi-config.yaml | 8 +- ...e => dropbox-EventCallbackHelper.mustache} | 0 sdks/php/templates/dropbox-LICENSE.mustache | 21 + ...SION.mustache => dropbox-VERSION.mustache} | 0 sdks/python/LICENSE | 21 + sdks/python/openapi-config.yaml | 10 +- .../python/templates/dropbox-LICENSE.mustache | 21 + ...SION.mustache => dropbox-VERSION.mustache} | 0 ...mustache => dropbox-__init__apis.mustache} | 0 ...=> dropbox-event_callback_helper.mustache} | 0 sdks/ruby/.gitignore | 1 + sdks/ruby/.openapi-generator/FILES | 405 ------------------ sdks/ruby/.openapi-generator/VERSION | 1 - sdks/ruby/LICENSE | 2 +- sdks/ruby/openapi-config.yaml | 8 +- sdks/ruby/templates/dropbox-LICENSE.mustache | 21 + ...root.mustache => dropbox-VERSION.mustache} | 0 ...=> dropbox-event_callback_helper.mustache} | 0 sdks/ruby/templates/gitignore.mustache | 1 + 48 files changed, 226 insertions(+), 464 deletions(-) rename sdks/dotnet/templates/{EventCallbackHelper.cs => dropbox-EventCallbackHelper.cs} (100%) create mode 100644 sdks/dotnet/templates/dropbox-LICENSE.mustache rename sdks/dotnet/templates/{VERSION.mustache => dropbox-VERSION.mustache} (100%) rename sdks/java-v1/templates/{EventCallbackHelper.mustache => dropbox-EventCallbackHelper.mustache} (100%) create mode 100644 sdks/java-v1/templates/dropbox-LICENSE.mustache rename sdks/java-v1/templates/{VERSION.mustache => dropbox-VERSION.mustache} (100%) delete mode 100644 sdks/java-v2/.github/workflows/maven.yml rename sdks/java-v2/templates/{EventCallbackHelper.mustache => dropbox-EventCallbackHelper.mustache} (100%) create mode 100644 sdks/java-v2/templates/dropbox-LICENSE.mustache rename sdks/java-v2/templates/{VERSION.mustache => dropbox-VERSION.mustache} (100%) create mode 100644 sdks/node/templates/dropbox-LICENSE.mustache rename sdks/node/templates/{README.mustache => dropbox-README.mustache} (100%) rename sdks/node/templates/{VERSION.mustache => dropbox-VERSION.mustache} (100%) rename sdks/node/templates/{api-doc.mustache => dropbox-api-doc.mustache} (100%) rename sdks/node/templates/{api-index.mustache => dropbox-api-index.mustache} (100%) rename sdks/node/templates/{eventCallbackHelper.mustache => dropbox-eventCallbackHelper.mustache} (100%) rename sdks/node/templates/{model-doc.mustache => dropbox-model-doc.mustache} (100%) rename sdks/node/templates/{model-index.mustache => dropbox-model-index.mustache} (100%) rename sdks/node/templates/{npmignore => dropbox-npmignore} (100%) rename sdks/node/templates/{prettierrc.cjs => dropbox-prettierrc.cjs} (100%) rename sdks/php/templates/{EventCallbackHelper.mustache => dropbox-EventCallbackHelper.mustache} (100%) create mode 100644 sdks/php/templates/dropbox-LICENSE.mustache rename sdks/php/templates/{VERSION.mustache => dropbox-VERSION.mustache} (100%) create mode 100644 sdks/python/LICENSE create mode 100644 sdks/python/templates/dropbox-LICENSE.mustache rename sdks/python/templates/{VERSION.mustache => dropbox-VERSION.mustache} (100%) rename sdks/python/templates/{__init__apis.mustache => dropbox-__init__apis.mustache} (100%) rename sdks/python/templates/{event_callback_helper.mustache => dropbox-event_callback_helper.mustache} (100%) delete mode 100644 sdks/ruby/.openapi-generator/FILES delete mode 100644 sdks/ruby/.openapi-generator/VERSION create mode 100644 sdks/ruby/templates/dropbox-LICENSE.mustache rename sdks/ruby/templates/{VERSION-root.mustache => dropbox-VERSION.mustache} (100%) rename sdks/ruby/templates/{event_callback_helper.mustache => dropbox-event_callback_helper.mustache} (100%) diff --git a/sdks/dotnet/LICENSE b/sdks/dotnet/LICENSE index a381914bd..ef7ea6002 100644 --- a/sdks/dotnet/LICENSE +++ b/sdks/dotnet/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2022 dropbox.com +Copyright (c) 2024 dropbox.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdks/dotnet/openapi-config.yaml b/sdks/dotnet/openapi-config.yaml index ec94ff7bc..da18083d7 100644 --- a/sdks/dotnet/openapi-config.yaml +++ b/sdks/dotnet/openapi-config.yaml @@ -14,11 +14,15 @@ additionalProperties: packageGuid: "{F8C8232D-7020-4603-8E04-18D060AE530B}" legacyDiscriminatorBehavior: true useCustomTemplateCode: true + licenseCopyrightYear: 2024 files: - EventCallbackHelper.cs: + dropbox-EventCallbackHelper.cs: templateType: SupportingFiles destinationFilename: src/Dropbox.Sign/EventCallbackHelper.cs - VERSION.mustache: + dropbox-LICENSE.mustache: + templateType: SupportingFiles + destinationFilename: LICENSE + dropbox-VERSION.mustache: templateType: SupportingFiles destinationFilename: VERSION globalProperties: diff --git a/sdks/dotnet/templates/EventCallbackHelper.cs b/sdks/dotnet/templates/dropbox-EventCallbackHelper.cs similarity index 100% rename from sdks/dotnet/templates/EventCallbackHelper.cs rename to sdks/dotnet/templates/dropbox-EventCallbackHelper.cs diff --git a/sdks/dotnet/templates/dropbox-LICENSE.mustache b/sdks/dotnet/templates/dropbox-LICENSE.mustache new file mode 100644 index 000000000..22039a65d --- /dev/null +++ b/sdks/dotnet/templates/dropbox-LICENSE.mustache @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) {{licenseCopyrightYear}} dropbox.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdks/dotnet/templates/VERSION.mustache b/sdks/dotnet/templates/dropbox-VERSION.mustache similarity index 100% rename from sdks/dotnet/templates/VERSION.mustache rename to sdks/dotnet/templates/dropbox-VERSION.mustache diff --git a/sdks/java-v1/LICENSE b/sdks/java-v1/LICENSE index 4025343d0..ef7ea6002 100644 --- a/sdks/java-v1/LICENSE +++ b/sdks/java-v1/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (C) 2023 dropbox.com +Copyright (c) 2024 dropbox.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdks/java-v1/openapi-config.yaml b/sdks/java-v1/openapi-config.yaml index 6b69dab93..af6dae07a 100644 --- a/sdks/java-v1/openapi-config.yaml +++ b/sdks/java-v1/openapi-config.yaml @@ -25,11 +25,15 @@ additionalProperties: licenseName: MIT License licenseUrl: https://www.opensource.org/licenses/mit-license.php useCustomTemplateCode: true + licenseCopyrightYear: 2024 files: - EventCallbackHelper.mustache: + dropbox-EventCallbackHelper.mustache: templateType: SupportingFiles destinationFilename: src/main/java/com/dropbox/sign/EventCallbackHelper.java - VERSION.mustache: + dropbox-LICENSE.mustache: + templateType: SupportingFiles + destinationFilename: LICENSE + dropbox-VERSION.mustache: templateType: SupportingFiles destinationFilename: VERSION globalProperties: diff --git a/sdks/java-v1/templates/EventCallbackHelper.mustache b/sdks/java-v1/templates/dropbox-EventCallbackHelper.mustache similarity index 100% rename from sdks/java-v1/templates/EventCallbackHelper.mustache rename to sdks/java-v1/templates/dropbox-EventCallbackHelper.mustache diff --git a/sdks/java-v1/templates/dropbox-LICENSE.mustache b/sdks/java-v1/templates/dropbox-LICENSE.mustache new file mode 100644 index 000000000..22039a65d --- /dev/null +++ b/sdks/java-v1/templates/dropbox-LICENSE.mustache @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) {{licenseCopyrightYear}} dropbox.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdks/java-v1/templates/VERSION.mustache b/sdks/java-v1/templates/dropbox-VERSION.mustache similarity index 100% rename from sdks/java-v1/templates/VERSION.mustache rename to sdks/java-v1/templates/dropbox-VERSION.mustache diff --git a/sdks/java-v2/.github/workflows/maven.yml b/sdks/java-v2/.github/workflows/maven.yml deleted file mode 100644 index 3d1ea7455..000000000 --- a/sdks/java-v2/.github/workflows/maven.yml +++ /dev/null @@ -1,30 +0,0 @@ -# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven -# -# This file is auto-generated by OpenAPI Generator (https://openapi-generator.tech) - -name: Java CI with Maven - -on: - push: - branches: [ main, master ] - pull_request: - branches: [ main, master ] - -jobs: - build: - name: Build Dropbox Sign API - runs-on: ubuntu-latest - strategy: - matrix: - java: [ 17, 21 ] - steps: - - uses: actions/checkout@v4 - - name: Set up JDK - uses: actions/setup-java@v4 - with: - java-version: ${{ matrix.java }} - distribution: 'temurin' - cache: maven - - name: Build with Maven - run: mvn -B package --no-transfer-progress --file pom.xml diff --git a/sdks/java-v2/LICENSE b/sdks/java-v2/LICENSE index 4025343d0..ef7ea6002 100644 --- a/sdks/java-v2/LICENSE +++ b/sdks/java-v2/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (C) 2023 dropbox.com +Copyright (c) 2024 dropbox.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdks/java-v2/openapi-config.yaml b/sdks/java-v2/openapi-config.yaml index b6d8ef988..a6d9cf26c 100644 --- a/sdks/java-v2/openapi-config.yaml +++ b/sdks/java-v2/openapi-config.yaml @@ -27,11 +27,15 @@ additionalProperties: licenseName: MIT License licenseUrl: https://www.opensource.org/licenses/mit-license.php useCustomTemplateCode: true + licenseCopyrightYear: 2024 files: - EventCallbackHelper.mustache: + dropbox-EventCallbackHelper.mustache: templateType: SupportingFiles destinationFilename: src/main/java/com/dropbox/sign/EventCallbackHelper.java - VERSION.mustache: + dropbox-LICENSE.mustache: + templateType: SupportingFiles + destinationFilename: LICENSE + dropbox-VERSION.mustache: templateType: SupportingFiles destinationFilename: VERSION globalProperties: diff --git a/sdks/java-v2/templates/EventCallbackHelper.mustache b/sdks/java-v2/templates/dropbox-EventCallbackHelper.mustache similarity index 100% rename from sdks/java-v2/templates/EventCallbackHelper.mustache rename to sdks/java-v2/templates/dropbox-EventCallbackHelper.mustache diff --git a/sdks/java-v2/templates/dropbox-LICENSE.mustache b/sdks/java-v2/templates/dropbox-LICENSE.mustache new file mode 100644 index 000000000..22039a65d --- /dev/null +++ b/sdks/java-v2/templates/dropbox-LICENSE.mustache @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) {{licenseCopyrightYear}} dropbox.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdks/java-v2/templates/VERSION.mustache b/sdks/java-v2/templates/dropbox-VERSION.mustache similarity index 100% rename from sdks/java-v2/templates/VERSION.mustache rename to sdks/java-v2/templates/dropbox-VERSION.mustache diff --git a/sdks/node/LICENSE b/sdks/node/LICENSE index 4025343d0..ef7ea6002 100644 --- a/sdks/node/LICENSE +++ b/sdks/node/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (C) 2023 dropbox.com +Copyright (c) 2024 dropbox.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdks/node/openapi-config.yaml b/sdks/node/openapi-config.yaml index 2f8202ddf..a2a896d93 100644 --- a/sdks/node/openapi-config.yaml +++ b/sdks/node/openapi-config.yaml @@ -8,32 +8,36 @@ additionalProperties: modelDocPath: ./docs/model sortModelPropertiesByRequiredFlag: true useCustomTemplateCode: true + licenseCopyrightYear: 2024 files: - npmignore: + dropbox-npmignore: templateType: SupportingFiles destinationFilename: .npmignore - api-doc.mustache: + dropbox-api-doc.mustache: templateType: APIDocs destinationFilename: .md - model-doc.mustache: + dropbox-model-doc.mustache: templateType: ModelDocs destinationFilename: .md - README.mustache: + dropbox-README.mustache: templateType: SupportingFiles destinationFilename: README.md - eventCallbackHelper.mustache: + dropbox-eventCallbackHelper.mustache: templateType: SupportingFiles destinationFilename: model/eventCallbackHelper.ts - VERSION.mustache: + dropbox-LICENSE.mustache: + templateType: SupportingFiles + destinationFilename: LICENSE + dropbox-VERSION.mustache: templateType: SupportingFiles destinationFilename: VERSION - api-index.mustache: + dropbox-api-index.mustache: templateType: SupportingFiles destinationFilename: api/index.ts - model-index.mustache: + dropbox-model-index.mustache: templateType: SupportingFiles destinationFilename: model/index.ts - prettierrc.cjs: + dropbox-prettierrc.cjs: templateType: SupportingFiles destinationFilename: .prettierrc.cjs globalProperties: diff --git a/sdks/node/templates/dropbox-LICENSE.mustache b/sdks/node/templates/dropbox-LICENSE.mustache new file mode 100644 index 000000000..22039a65d --- /dev/null +++ b/sdks/node/templates/dropbox-LICENSE.mustache @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) {{licenseCopyrightYear}} dropbox.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdks/node/templates/README.mustache b/sdks/node/templates/dropbox-README.mustache similarity index 100% rename from sdks/node/templates/README.mustache rename to sdks/node/templates/dropbox-README.mustache diff --git a/sdks/node/templates/VERSION.mustache b/sdks/node/templates/dropbox-VERSION.mustache similarity index 100% rename from sdks/node/templates/VERSION.mustache rename to sdks/node/templates/dropbox-VERSION.mustache diff --git a/sdks/node/templates/api-doc.mustache b/sdks/node/templates/dropbox-api-doc.mustache similarity index 100% rename from sdks/node/templates/api-doc.mustache rename to sdks/node/templates/dropbox-api-doc.mustache diff --git a/sdks/node/templates/api-index.mustache b/sdks/node/templates/dropbox-api-index.mustache similarity index 100% rename from sdks/node/templates/api-index.mustache rename to sdks/node/templates/dropbox-api-index.mustache diff --git a/sdks/node/templates/eventCallbackHelper.mustache b/sdks/node/templates/dropbox-eventCallbackHelper.mustache similarity index 100% rename from sdks/node/templates/eventCallbackHelper.mustache rename to sdks/node/templates/dropbox-eventCallbackHelper.mustache diff --git a/sdks/node/templates/model-doc.mustache b/sdks/node/templates/dropbox-model-doc.mustache similarity index 100% rename from sdks/node/templates/model-doc.mustache rename to sdks/node/templates/dropbox-model-doc.mustache diff --git a/sdks/node/templates/model-index.mustache b/sdks/node/templates/dropbox-model-index.mustache similarity index 100% rename from sdks/node/templates/model-index.mustache rename to sdks/node/templates/dropbox-model-index.mustache diff --git a/sdks/node/templates/npmignore b/sdks/node/templates/dropbox-npmignore similarity index 100% rename from sdks/node/templates/npmignore rename to sdks/node/templates/dropbox-npmignore diff --git a/sdks/node/templates/prettierrc.cjs b/sdks/node/templates/dropbox-prettierrc.cjs similarity index 100% rename from sdks/node/templates/prettierrc.cjs rename to sdks/node/templates/dropbox-prettierrc.cjs diff --git a/sdks/php/LICENSE b/sdks/php/LICENSE index 5a1b42472..ef7ea6002 100644 --- a/sdks/php/LICENSE +++ b/sdks/php/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2022 Dropbox, Inc. +Copyright (c) 2024 dropbox.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdks/php/openapi-config.yaml b/sdks/php/openapi-config.yaml index 773838fe8..b7a3b76d5 100644 --- a/sdks/php/openapi-config.yaml +++ b/sdks/php/openapi-config.yaml @@ -16,11 +16,15 @@ additionalProperties: developerOrganizationUrl: "https://hellosign.com" developerOrganizationEmail: "apisupport@hellosign.com" useCustomTemplateCode: true + licenseCopyrightYear: 2024 files: - EventCallbackHelper.mustache: + dropbox-EventCallbackHelper.mustache: templateType: SupportingFiles destinationFilename: src/EventCallbackHelper.php - VERSION.mustache: + dropbox-LICENSE.mustache: + templateType: SupportingFiles + destinationFilename: LICENSE + dropbox-VERSION.mustache: templateType: SupportingFiles destinationFilename: VERSION globalProperties: diff --git a/sdks/php/templates/EventCallbackHelper.mustache b/sdks/php/templates/dropbox-EventCallbackHelper.mustache similarity index 100% rename from sdks/php/templates/EventCallbackHelper.mustache rename to sdks/php/templates/dropbox-EventCallbackHelper.mustache diff --git a/sdks/php/templates/dropbox-LICENSE.mustache b/sdks/php/templates/dropbox-LICENSE.mustache new file mode 100644 index 000000000..22039a65d --- /dev/null +++ b/sdks/php/templates/dropbox-LICENSE.mustache @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) {{licenseCopyrightYear}} dropbox.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdks/php/templates/VERSION.mustache b/sdks/php/templates/dropbox-VERSION.mustache similarity index 100% rename from sdks/php/templates/VERSION.mustache rename to sdks/php/templates/dropbox-VERSION.mustache diff --git a/sdks/python/LICENSE b/sdks/python/LICENSE new file mode 100644 index 000000000..ef7ea6002 --- /dev/null +++ b/sdks/python/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2024 dropbox.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdks/python/openapi-config.yaml b/sdks/python/openapi-config.yaml index 348a1f82f..0738ddb9e 100644 --- a/sdks/python/openapi-config.yaml +++ b/sdks/python/openapi-config.yaml @@ -12,14 +12,18 @@ additionalProperties: packageUrl: https://github.com/hellosign/dropbox-sign-python infoName: Official Python SDK for the Dropbox Sign API useCustomTemplateCode: true + licenseCopyrightYear: 2024 files: - __init__apis.mustache: + dropbox-__init__apis.mustache: templateType: SupportingFiles destinationFilename: dropbox_sign/apis/__init__.py - event_callback_helper.mustache: + dropbox-event_callback_helper.mustache: templateType: SupportingFiles destinationFilename: dropbox_sign/event_callback_helper.py - VERSION.mustache: + dropbox-LICENSE.mustache: + templateType: SupportingFiles + destinationFilename: LICENSE + dropbox-VERSION.mustache: templateType: SupportingFiles destinationFilename: VERSION globalProperties: diff --git a/sdks/python/templates/dropbox-LICENSE.mustache b/sdks/python/templates/dropbox-LICENSE.mustache new file mode 100644 index 000000000..22039a65d --- /dev/null +++ b/sdks/python/templates/dropbox-LICENSE.mustache @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) {{licenseCopyrightYear}} dropbox.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdks/python/templates/VERSION.mustache b/sdks/python/templates/dropbox-VERSION.mustache similarity index 100% rename from sdks/python/templates/VERSION.mustache rename to sdks/python/templates/dropbox-VERSION.mustache diff --git a/sdks/python/templates/__init__apis.mustache b/sdks/python/templates/dropbox-__init__apis.mustache similarity index 100% rename from sdks/python/templates/__init__apis.mustache rename to sdks/python/templates/dropbox-__init__apis.mustache diff --git a/sdks/python/templates/event_callback_helper.mustache b/sdks/python/templates/dropbox-event_callback_helper.mustache similarity index 100% rename from sdks/python/templates/event_callback_helper.mustache rename to sdks/python/templates/dropbox-event_callback_helper.mustache diff --git a/sdks/ruby/.gitignore b/sdks/ruby/.gitignore index ebd198d3b..4bb4c917c 100644 --- a/sdks/ruby/.gitignore +++ b/sdks/ruby/.gitignore @@ -38,4 +38,5 @@ build/ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this: .rvmrc +.openapi-generator vendor diff --git a/sdks/ruby/.openapi-generator/FILES b/sdks/ruby/.openapi-generator/FILES deleted file mode 100644 index 2ff1424e3..000000000 --- a/sdks/ruby/.openapi-generator/FILES +++ /dev/null @@ -1,405 +0,0 @@ -.gitignore -.gitlab-ci.yml -.rspec -.rubocop.yml -.travis.yml -Gemfile -README.md -Rakefile -VERSION -docs/AccountApi.md -docs/AccountCreateRequest.md -docs/AccountCreateResponse.md -docs/AccountGetResponse.md -docs/AccountResponse.md -docs/AccountResponseQuotas.md -docs/AccountResponseUsage.md -docs/AccountUpdateRequest.md -docs/AccountVerifyRequest.md -docs/AccountVerifyResponse.md -docs/AccountVerifyResponseAccount.md -docs/ApiAppApi.md -docs/ApiAppCreateRequest.md -docs/ApiAppGetResponse.md -docs/ApiAppListResponse.md -docs/ApiAppResponse.md -docs/ApiAppResponseOAuth.md -docs/ApiAppResponseOptions.md -docs/ApiAppResponseOwnerAccount.md -docs/ApiAppResponseWhiteLabelingOptions.md -docs/ApiAppUpdateRequest.md -docs/BulkSendJobApi.md -docs/BulkSendJobGetResponse.md -docs/BulkSendJobGetResponseSignatureRequests.md -docs/BulkSendJobListResponse.md -docs/BulkSendJobResponse.md -docs/BulkSendJobSendResponse.md -docs/EmbeddedApi.md -docs/EmbeddedEditUrlRequest.md -docs/EmbeddedEditUrlResponse.md -docs/EmbeddedEditUrlResponseEmbedded.md -docs/EmbeddedSignUrlResponse.md -docs/EmbeddedSignUrlResponseEmbedded.md -docs/ErrorResponse.md -docs/ErrorResponseError.md -docs/EventCallbackRequest.md -docs/EventCallbackRequestEvent.md -docs/EventCallbackRequestEventMetadata.md -docs/FaxLineAddUserRequest.md -docs/FaxLineApi.md -docs/FaxLineAreaCodeGetCountryEnum.md -docs/FaxLineAreaCodeGetProvinceEnum.md -docs/FaxLineAreaCodeGetResponse.md -docs/FaxLineAreaCodeGetStateEnum.md -docs/FaxLineCreateRequest.md -docs/FaxLineDeleteRequest.md -docs/FaxLineListResponse.md -docs/FaxLineRemoveUserRequest.md -docs/FaxLineResponse.md -docs/FaxLineResponseFaxLine.md -docs/FileResponse.md -docs/FileResponseDataUri.md -docs/ListInfoResponse.md -docs/OAuthApi.md -docs/OAuthTokenGenerateRequest.md -docs/OAuthTokenRefreshRequest.md -docs/OAuthTokenResponse.md -docs/ReportApi.md -docs/ReportCreateRequest.md -docs/ReportCreateResponse.md -docs/ReportResponse.md -docs/SignatureRequestApi.md -docs/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.md -docs/SignatureRequestBulkSendWithTemplateRequest.md -docs/SignatureRequestCreateEmbeddedRequest.md -docs/SignatureRequestCreateEmbeddedWithTemplateRequest.md -docs/SignatureRequestGetResponse.md -docs/SignatureRequestListResponse.md -docs/SignatureRequestRemindRequest.md -docs/SignatureRequestResponse.md -docs/SignatureRequestResponseAttachment.md -docs/SignatureRequestResponseCustomFieldBase.md -docs/SignatureRequestResponseCustomFieldCheckbox.md -docs/SignatureRequestResponseCustomFieldText.md -docs/SignatureRequestResponseCustomFieldTypeEnum.md -docs/SignatureRequestResponseDataBase.md -docs/SignatureRequestResponseDataTypeEnum.md -docs/SignatureRequestResponseDataValueCheckbox.md -docs/SignatureRequestResponseDataValueCheckboxMerge.md -docs/SignatureRequestResponseDataValueDateSigned.md -docs/SignatureRequestResponseDataValueDropdown.md -docs/SignatureRequestResponseDataValueInitials.md -docs/SignatureRequestResponseDataValueRadio.md -docs/SignatureRequestResponseDataValueSignature.md -docs/SignatureRequestResponseDataValueText.md -docs/SignatureRequestResponseDataValueTextMerge.md -docs/SignatureRequestResponseSignatures.md -docs/SignatureRequestSendRequest.md -docs/SignatureRequestSendWithTemplateRequest.md -docs/SignatureRequestUpdateRequest.md -docs/SubAttachment.md -docs/SubBulkSignerList.md -docs/SubBulkSignerListCustomField.md -docs/SubCC.md -docs/SubCustomField.md -docs/SubEditorOptions.md -docs/SubFieldOptions.md -docs/SubFormFieldGroup.md -docs/SubFormFieldRule.md -docs/SubFormFieldRuleAction.md -docs/SubFormFieldRuleTrigger.md -docs/SubFormFieldsPerDocumentBase.md -docs/SubFormFieldsPerDocumentCheckbox.md -docs/SubFormFieldsPerDocumentCheckboxMerge.md -docs/SubFormFieldsPerDocumentDateSigned.md -docs/SubFormFieldsPerDocumentDropdown.md -docs/SubFormFieldsPerDocumentFontEnum.md -docs/SubFormFieldsPerDocumentHyperlink.md -docs/SubFormFieldsPerDocumentInitials.md -docs/SubFormFieldsPerDocumentRadio.md -docs/SubFormFieldsPerDocumentSignature.md -docs/SubFormFieldsPerDocumentText.md -docs/SubFormFieldsPerDocumentTextMerge.md -docs/SubFormFieldsPerDocumentTypeEnum.md -docs/SubMergeField.md -docs/SubOAuth.md -docs/SubOptions.md -docs/SubSignatureRequestGroupedSigners.md -docs/SubSignatureRequestSigner.md -docs/SubSignatureRequestTemplateSigner.md -docs/SubSigningOptions.md -docs/SubTeamResponse.md -docs/SubTemplateRole.md -docs/SubUnclaimedDraftSigner.md -docs/SubUnclaimedDraftTemplateSigner.md -docs/SubWhiteLabelingOptions.md -docs/TeamAddMemberRequest.md -docs/TeamApi.md -docs/TeamCreateRequest.md -docs/TeamGetInfoResponse.md -docs/TeamGetResponse.md -docs/TeamInfoResponse.md -docs/TeamInviteResponse.md -docs/TeamInvitesResponse.md -docs/TeamMemberResponse.md -docs/TeamMembersResponse.md -docs/TeamParentResponse.md -docs/TeamRemoveMemberRequest.md -docs/TeamResponse.md -docs/TeamSubTeamsResponse.md -docs/TeamUpdateRequest.md -docs/TemplateAddUserRequest.md -docs/TemplateApi.md -docs/TemplateCreateEmbeddedDraftRequest.md -docs/TemplateCreateEmbeddedDraftResponse.md -docs/TemplateCreateEmbeddedDraftResponseTemplate.md -docs/TemplateCreateRequest.md -docs/TemplateCreateResponse.md -docs/TemplateCreateResponseTemplate.md -docs/TemplateEditResponse.md -docs/TemplateGetResponse.md -docs/TemplateListResponse.md -docs/TemplateRemoveUserRequest.md -docs/TemplateResponse.md -docs/TemplateResponseAccount.md -docs/TemplateResponseAccountQuota.md -docs/TemplateResponseCCRole.md -docs/TemplateResponseDocument.md -docs/TemplateResponseDocumentCustomFieldBase.md -docs/TemplateResponseDocumentCustomFieldCheckbox.md -docs/TemplateResponseDocumentCustomFieldText.md -docs/TemplateResponseDocumentFieldGroup.md -docs/TemplateResponseDocumentFieldGroupRule.md -docs/TemplateResponseDocumentFormFieldBase.md -docs/TemplateResponseDocumentFormFieldCheckbox.md -docs/TemplateResponseDocumentFormFieldDateSigned.md -docs/TemplateResponseDocumentFormFieldDropdown.md -docs/TemplateResponseDocumentFormFieldHyperlink.md -docs/TemplateResponseDocumentFormFieldInitials.md -docs/TemplateResponseDocumentFormFieldRadio.md -docs/TemplateResponseDocumentFormFieldSignature.md -docs/TemplateResponseDocumentFormFieldText.md -docs/TemplateResponseDocumentStaticFieldBase.md -docs/TemplateResponseDocumentStaticFieldCheckbox.md -docs/TemplateResponseDocumentStaticFieldDateSigned.md -docs/TemplateResponseDocumentStaticFieldDropdown.md -docs/TemplateResponseDocumentStaticFieldHyperlink.md -docs/TemplateResponseDocumentStaticFieldInitials.md -docs/TemplateResponseDocumentStaticFieldRadio.md -docs/TemplateResponseDocumentStaticFieldSignature.md -docs/TemplateResponseDocumentStaticFieldText.md -docs/TemplateResponseFieldAvgTextLength.md -docs/TemplateResponseSignerRole.md -docs/TemplateUpdateFilesRequest.md -docs/TemplateUpdateFilesResponse.md -docs/TemplateUpdateFilesResponseTemplate.md -docs/UnclaimedDraftApi.md -docs/UnclaimedDraftCreateEmbeddedRequest.md -docs/UnclaimedDraftCreateEmbeddedWithTemplateRequest.md -docs/UnclaimedDraftCreateRequest.md -docs/UnclaimedDraftCreateResponse.md -docs/UnclaimedDraftEditAndResendRequest.md -docs/UnclaimedDraftResponse.md -docs/WarningResponse.md -dropbox-sign.gemspec -lib/dropbox-sign.rb -lib/dropbox-sign/api/account_api.rb -lib/dropbox-sign/api/api_app_api.rb -lib/dropbox-sign/api/bulk_send_job_api.rb -lib/dropbox-sign/api/embedded_api.rb -lib/dropbox-sign/api/fax_line_api.rb -lib/dropbox-sign/api/o_auth_api.rb -lib/dropbox-sign/api/report_api.rb -lib/dropbox-sign/api/signature_request_api.rb -lib/dropbox-sign/api/team_api.rb -lib/dropbox-sign/api/template_api.rb -lib/dropbox-sign/api/unclaimed_draft_api.rb -lib/dropbox-sign/api_client.rb -lib/dropbox-sign/api_error.rb -lib/dropbox-sign/configuration.rb -lib/dropbox-sign/event_callback_helper.rb -lib/dropbox-sign/models/account_create_request.rb -lib/dropbox-sign/models/account_create_response.rb -lib/dropbox-sign/models/account_get_response.rb -lib/dropbox-sign/models/account_response.rb -lib/dropbox-sign/models/account_response_quotas.rb -lib/dropbox-sign/models/account_response_usage.rb -lib/dropbox-sign/models/account_update_request.rb -lib/dropbox-sign/models/account_verify_request.rb -lib/dropbox-sign/models/account_verify_response.rb -lib/dropbox-sign/models/account_verify_response_account.rb -lib/dropbox-sign/models/api_app_create_request.rb -lib/dropbox-sign/models/api_app_get_response.rb -lib/dropbox-sign/models/api_app_list_response.rb -lib/dropbox-sign/models/api_app_response.rb -lib/dropbox-sign/models/api_app_response_o_auth.rb -lib/dropbox-sign/models/api_app_response_options.rb -lib/dropbox-sign/models/api_app_response_owner_account.rb -lib/dropbox-sign/models/api_app_response_white_labeling_options.rb -lib/dropbox-sign/models/api_app_update_request.rb -lib/dropbox-sign/models/bulk_send_job_get_response.rb -lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb -lib/dropbox-sign/models/bulk_send_job_list_response.rb -lib/dropbox-sign/models/bulk_send_job_response.rb -lib/dropbox-sign/models/bulk_send_job_send_response.rb -lib/dropbox-sign/models/embedded_edit_url_request.rb -lib/dropbox-sign/models/embedded_edit_url_response.rb -lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb -lib/dropbox-sign/models/embedded_sign_url_response.rb -lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb -lib/dropbox-sign/models/error_response.rb -lib/dropbox-sign/models/error_response_error.rb -lib/dropbox-sign/models/event_callback_request.rb -lib/dropbox-sign/models/event_callback_request_event.rb -lib/dropbox-sign/models/event_callback_request_event_metadata.rb -lib/dropbox-sign/models/fax_line_add_user_request.rb -lib/dropbox-sign/models/fax_line_area_code_get_country_enum.rb -lib/dropbox-sign/models/fax_line_area_code_get_province_enum.rb -lib/dropbox-sign/models/fax_line_area_code_get_response.rb -lib/dropbox-sign/models/fax_line_area_code_get_state_enum.rb -lib/dropbox-sign/models/fax_line_create_request.rb -lib/dropbox-sign/models/fax_line_delete_request.rb -lib/dropbox-sign/models/fax_line_list_response.rb -lib/dropbox-sign/models/fax_line_remove_user_request.rb -lib/dropbox-sign/models/fax_line_response.rb -lib/dropbox-sign/models/fax_line_response_fax_line.rb -lib/dropbox-sign/models/file_response.rb -lib/dropbox-sign/models/file_response_data_uri.rb -lib/dropbox-sign/models/list_info_response.rb -lib/dropbox-sign/models/o_auth_token_generate_request.rb -lib/dropbox-sign/models/o_auth_token_refresh_request.rb -lib/dropbox-sign/models/o_auth_token_response.rb -lib/dropbox-sign/models/report_create_request.rb -lib/dropbox-sign/models/report_create_response.rb -lib/dropbox-sign/models/report_response.rb -lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb -lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb -lib/dropbox-sign/models/signature_request_create_embedded_request.rb -lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb -lib/dropbox-sign/models/signature_request_get_response.rb -lib/dropbox-sign/models/signature_request_list_response.rb -lib/dropbox-sign/models/signature_request_remind_request.rb -lib/dropbox-sign/models/signature_request_response.rb -lib/dropbox-sign/models/signature_request_response_attachment.rb -lib/dropbox-sign/models/signature_request_response_custom_field_base.rb -lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb -lib/dropbox-sign/models/signature_request_response_custom_field_text.rb -lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb -lib/dropbox-sign/models/signature_request_response_data_base.rb -lib/dropbox-sign/models/signature_request_response_data_type_enum.rb -lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb -lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb -lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb -lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb -lib/dropbox-sign/models/signature_request_response_data_value_initials.rb -lib/dropbox-sign/models/signature_request_response_data_value_radio.rb -lib/dropbox-sign/models/signature_request_response_data_value_signature.rb -lib/dropbox-sign/models/signature_request_response_data_value_text.rb -lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb -lib/dropbox-sign/models/signature_request_response_signatures.rb -lib/dropbox-sign/models/signature_request_send_request.rb -lib/dropbox-sign/models/signature_request_send_with_template_request.rb -lib/dropbox-sign/models/signature_request_update_request.rb -lib/dropbox-sign/models/sub_attachment.rb -lib/dropbox-sign/models/sub_bulk_signer_list.rb -lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb -lib/dropbox-sign/models/sub_cc.rb -lib/dropbox-sign/models/sub_custom_field.rb -lib/dropbox-sign/models/sub_editor_options.rb -lib/dropbox-sign/models/sub_field_options.rb -lib/dropbox-sign/models/sub_form_field_group.rb -lib/dropbox-sign/models/sub_form_field_rule.rb -lib/dropbox-sign/models/sub_form_field_rule_action.rb -lib/dropbox-sign/models/sub_form_field_rule_trigger.rb -lib/dropbox-sign/models/sub_form_fields_per_document_base.rb -lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb -lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb -lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb -lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb -lib/dropbox-sign/models/sub_form_fields_per_document_font_enum.rb -lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb -lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb -lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb -lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb -lib/dropbox-sign/models/sub_form_fields_per_document_text.rb -lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb -lib/dropbox-sign/models/sub_form_fields_per_document_type_enum.rb -lib/dropbox-sign/models/sub_merge_field.rb -lib/dropbox-sign/models/sub_o_auth.rb -lib/dropbox-sign/models/sub_options.rb -lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb -lib/dropbox-sign/models/sub_signature_request_signer.rb -lib/dropbox-sign/models/sub_signature_request_template_signer.rb -lib/dropbox-sign/models/sub_signing_options.rb -lib/dropbox-sign/models/sub_team_response.rb -lib/dropbox-sign/models/sub_template_role.rb -lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb -lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb -lib/dropbox-sign/models/sub_white_labeling_options.rb -lib/dropbox-sign/models/team_add_member_request.rb -lib/dropbox-sign/models/team_create_request.rb -lib/dropbox-sign/models/team_get_info_response.rb -lib/dropbox-sign/models/team_get_response.rb -lib/dropbox-sign/models/team_info_response.rb -lib/dropbox-sign/models/team_invite_response.rb -lib/dropbox-sign/models/team_invites_response.rb -lib/dropbox-sign/models/team_member_response.rb -lib/dropbox-sign/models/team_members_response.rb -lib/dropbox-sign/models/team_parent_response.rb -lib/dropbox-sign/models/team_remove_member_request.rb -lib/dropbox-sign/models/team_response.rb -lib/dropbox-sign/models/team_sub_teams_response.rb -lib/dropbox-sign/models/team_update_request.rb -lib/dropbox-sign/models/template_add_user_request.rb -lib/dropbox-sign/models/template_create_embedded_draft_request.rb -lib/dropbox-sign/models/template_create_embedded_draft_response.rb -lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb -lib/dropbox-sign/models/template_create_request.rb -lib/dropbox-sign/models/template_create_response.rb -lib/dropbox-sign/models/template_create_response_template.rb -lib/dropbox-sign/models/template_edit_response.rb -lib/dropbox-sign/models/template_get_response.rb -lib/dropbox-sign/models/template_list_response.rb -lib/dropbox-sign/models/template_remove_user_request.rb -lib/dropbox-sign/models/template_response.rb -lib/dropbox-sign/models/template_response_account.rb -lib/dropbox-sign/models/template_response_account_quota.rb -lib/dropbox-sign/models/template_response_cc_role.rb -lib/dropbox-sign/models/template_response_document.rb -lib/dropbox-sign/models/template_response_document_custom_field_base.rb -lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb -lib/dropbox-sign/models/template_response_document_custom_field_text.rb -lib/dropbox-sign/models/template_response_document_field_group.rb -lib/dropbox-sign/models/template_response_document_field_group_rule.rb -lib/dropbox-sign/models/template_response_document_form_field_base.rb -lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb -lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb -lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb -lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb -lib/dropbox-sign/models/template_response_document_form_field_initials.rb -lib/dropbox-sign/models/template_response_document_form_field_radio.rb -lib/dropbox-sign/models/template_response_document_form_field_signature.rb -lib/dropbox-sign/models/template_response_document_form_field_text.rb -lib/dropbox-sign/models/template_response_document_static_field_base.rb -lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb -lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb -lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb -lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb -lib/dropbox-sign/models/template_response_document_static_field_initials.rb -lib/dropbox-sign/models/template_response_document_static_field_radio.rb -lib/dropbox-sign/models/template_response_document_static_field_signature.rb -lib/dropbox-sign/models/template_response_document_static_field_text.rb -lib/dropbox-sign/models/template_response_field_avg_text_length.rb -lib/dropbox-sign/models/template_response_signer_role.rb -lib/dropbox-sign/models/template_update_files_request.rb -lib/dropbox-sign/models/template_update_files_response.rb -lib/dropbox-sign/models/template_update_files_response_template.rb -lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb -lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb -lib/dropbox-sign/models/unclaimed_draft_create_request.rb -lib/dropbox-sign/models/unclaimed_draft_create_response.rb -lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb -lib/dropbox-sign/models/unclaimed_draft_response.rb -lib/dropbox-sign/models/warning_response.rb -lib/dropbox-sign/version.rb -spec/spec_helper.rb diff --git a/sdks/ruby/.openapi-generator/VERSION b/sdks/ruby/.openapi-generator/VERSION deleted file mode 100644 index 09a6d3084..000000000 --- a/sdks/ruby/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -7.8.0 diff --git a/sdks/ruby/LICENSE b/sdks/ruby/LICENSE index 4025343d0..ef7ea6002 100644 --- a/sdks/ruby/LICENSE +++ b/sdks/ruby/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (C) 2023 dropbox.com +Copyright (c) 2024 dropbox.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdks/ruby/openapi-config.yaml b/sdks/ruby/openapi-config.yaml index 84ac951d4..21dcabc97 100644 --- a/sdks/ruby/openapi-config.yaml +++ b/sdks/ruby/openapi-config.yaml @@ -15,11 +15,15 @@ additionalProperties: gitUserId: hellosign gitRepoId: dropbox-sign-ruby useCustomTemplateCode: true + licenseCopyrightYear: 2024 files: - event_callback_helper.mustache: + dropbox-event_callback_helper.mustache: templateType: SupportingFiles destinationFilename: lib/dropbox-sign/event_callback_helper.rb - VERSION-root.mustache: + dropbox-LICENSE.mustache: + templateType: SupportingFiles + destinationFilename: LICENSE + dropbox-VERSION.mustache: templateType: SupportingFiles destinationFilename: VERSION globalProperties: diff --git a/sdks/ruby/templates/dropbox-LICENSE.mustache b/sdks/ruby/templates/dropbox-LICENSE.mustache new file mode 100644 index 000000000..22039a65d --- /dev/null +++ b/sdks/ruby/templates/dropbox-LICENSE.mustache @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) {{licenseCopyrightYear}} dropbox.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdks/ruby/templates/VERSION-root.mustache b/sdks/ruby/templates/dropbox-VERSION.mustache similarity index 100% rename from sdks/ruby/templates/VERSION-root.mustache rename to sdks/ruby/templates/dropbox-VERSION.mustache diff --git a/sdks/ruby/templates/event_callback_helper.mustache b/sdks/ruby/templates/dropbox-event_callback_helper.mustache similarity index 100% rename from sdks/ruby/templates/event_callback_helper.mustache rename to sdks/ruby/templates/dropbox-event_callback_helper.mustache diff --git a/sdks/ruby/templates/gitignore.mustache b/sdks/ruby/templates/gitignore.mustache index a97a94f24..8c1d4ee28 100644 --- a/sdks/ruby/templates/gitignore.mustache +++ b/sdks/ruby/templates/gitignore.mustache @@ -39,5 +39,6 @@ build/ .rvmrc {{#useCustomTemplateCode}} +.openapi-generator vendor {{/useCustomTemplateCode}}