diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json index 9cc013b65b7d..b846b64a0dcd 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json @@ -32,8 +32,8 @@ "interchangeControlNumberValidityDays": 30, "checkDuplicateGroupControlNumber": false, "checkDuplicateTransactionSetControlNumber": false, - "validateEdiTypes": true, - "validateXsdTypes": false, + "validateEDITypes": true, + "validateXSDTypes": false, "allowLeadingAndTrailingSpacesAndZeroes": false, "trimLeadingAndTrailingSpacesAndZeroes": false, "trailingSeparatorPolicy": "NotAllowed" @@ -117,8 +117,8 @@ "interchangeControlNumberValidityDays": 30, "checkDuplicateGroupControlNumber": false, "checkDuplicateTransactionSetControlNumber": false, - "validateEdiTypes": true, - "validateXsdTypes": false, + "validateEDITypes": true, + "validateXSDTypes": false, "allowLeadingAndTrailingSpacesAndZeroes": false, "trimLeadingAndTrailingSpacesAndZeroes": false, "trailingSeparatorPolicy": "NotAllowed" @@ -387,8 +387,8 @@ "interchangeControlNumberValidityDays": 30, "checkDuplicateGroupControlNumber": true, "checkDuplicateTransactionSetControlNumber": true, - "validateEdiTypes": true, - "validateXsdTypes": true, + "validateEDITypes": true, + "validateXSDTypes": true, "trimLeadingAndTrailingSpacesAndZeroes": true, "allowLeadingAndTrailingSpacesAndZeroes": true, "trailingSeparatorPolicy": "Optional" @@ -488,8 +488,8 @@ "interchangeControlNumberValidityDays": 30, "checkDuplicateGroupControlNumber": true, "checkDuplicateTransactionSetControlNumber": true, - "validateEdiTypes": true, - "validateXsdTypes": true, + "validateEDITypes": true, + "validateXSDTypes": true, "trimLeadingAndTrailingSpacesAndZeroes": true, "allowLeadingAndTrailingSpacesAndZeroes": true, "trailingSeparatorPolicy": "Optional" diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json index 81db69c569cb..bbd8edc6bc61 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json @@ -7481,8 +7481,8 @@ "interchangeControlNumberValidityDays", "checkDuplicateGroupControlNumber", "checkDuplicateTransactionSetControlNumber", - "validateEdiTypes", - "validateXsdTypes", + "validateEDITypes", + "validateXSDTypes", "allowLeadingAndTrailingSpacesAndZeroes", "trimLeadingAndTrailingSpacesAndZeroes", "trailingSeparatorPolicy" @@ -7509,11 +7509,11 @@ "type": "boolean", "description": "The value indicating whether to check for duplicate transaction set control number." }, - "validateEdiTypes": { + "validateEDITypes": { "type": "boolean", "description": "The value indicating whether to Whether to validate EDI types." }, - "validateXsdTypes": { + "validateXSDTypes": { "type": "boolean", "description": "The value indicating whether to Whether to validate XSD types." }, @@ -7930,8 +7930,8 @@ "type": "object", "required": [ "messageId", - "validateEdiTypes", - "validateXsdTypes", + "validateEDITypes", + "validateXSDTypes", "allowLeadingAndTrailingSpacesAndZeroes", "validateCharacterSet", "trimLeadingAndTrailingSpacesAndZeroes", @@ -7942,11 +7942,11 @@ "type": "string", "description": "The message id on which the validation settings has to be applied." }, - "validateEdiTypes": { + "validateEDITypes": { "type": "boolean", "description": "The value indicating whether to validate EDI types." }, - "validateXsdTypes": { + "validateXSDTypes": { "type": "boolean", "description": "The value indicating whether to validate XSD types." }, @@ -8324,8 +8324,8 @@ "interchangeControlNumberValidityDays", "checkDuplicateGroupControlNumber", "checkDuplicateTransactionSetControlNumber", - "validateEdiTypes", - "validateXsdTypes", + "validateEDITypes", + "validateXSDTypes", "allowLeadingAndTrailingSpacesAndZeroes", "trimLeadingAndTrailingSpacesAndZeroes", "trailingSeparatorPolicy" @@ -8352,11 +8352,11 @@ "type": "boolean", "description": "The value indicating whether to check for duplicate transaction set control number." }, - "validateEdiTypes": { + "validateEDITypes": { "type": "boolean", "description": "The value indicating whether to Whether to validate EDI types." }, - "validateXsdTypes": { + "validateXSDTypes": { "type": "boolean", "description": "The value indicating whether to Whether to validate XSD types." }, @@ -8867,8 +8867,8 @@ "required": [ "messageId", "enforceCharacterSet", - "validateEdiTypes", - "validateXsdTypes", + "validateEDITypes", + "validateXSDTypes", "allowLeadingAndTrailingSpacesAndZeroes", "trailingSeparatorPolicy", "trimLeadingAndTrailingSpacesAndZeroes" @@ -8882,11 +8882,11 @@ "type": "boolean", "description": "The value indicating whether to validate character Set." }, - "validateEdiTypes": { + "validateEDITypes": { "type": "boolean", "description": "The value indicating whether to validate EDI types." }, - "validateXsdTypes": { + "validateXSDTypes": { "type": "boolean", "description": "The value indicating whether to validate XSD types." }, diff --git a/specification/logic/resource-manager/readme.md b/specification/logic/resource-manager/readme.md index 996d46b4c37d..a054d77930f1 100644 --- a/specification/logic/resource-manager/readme.md +++ b/specification/logic/resource-manager/readme.md @@ -4,10 +4,10 @@ This is the AutoRest configuration file for Logic. - - --- + ## Getting Started + To build the SDK for Logic, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -19,9 +19,8 @@ To see additional help and options, run: ## Configuration - - ### Basic Information + These are the global settings for the Logic API. ``` yaml @@ -40,7 +39,6 @@ directive: ``` - ### Tag: package-2018-07-preview These settings apply only when `--package-2018-07-preview` is specified on the command line. @@ -50,6 +48,24 @@ input-file: - Microsoft.Logic/preview/2018-07-01-preview/logic.json ``` +## Suppression + +``` yaml +directive: + - suppress: R3016 + reason: Existing properties, can't be changed without breaking API. + #where: + # - $.definitions.EdifactValidationSettings.properties.validateEDITypes + # - $.definitions.EdifactValidationSettings.properties.validateXSDTypes + # - $.definitions.EdifactValidationOverride.properties.validateEDITypes + # - $.definitions.EdifactValidationOverride.properties.validateXSDTypes + # - $.definitions.X12ValidationSettings.properties.validateEDITypes + # - $.definitions.X12ValidationSettings.properties.validateXSDTypes + # - $.definitions.X12ValidationOverride.properties.validateEDITypes + # - $.definitions.X12ValidationOverride.properties.validateXSDTypes + +``` + ### Tag: package-2016-06 These settings apply only when `--tag=package-2016-06` is specified on the command line. @@ -77,10 +93,9 @@ input-file: - Microsoft.Logic/preview/2015-02-01-preview/logic.json ``` - --- -# Code Generation +# Code Generation ## Swagger to SDK @@ -99,7 +114,6 @@ swagger-to-sdk: - bundle install && rake arm:regen_all_profiles['azure_mgmt_logic'] ``` - ## C# These settings apply only when `--csharp` is specified on the command line. @@ -130,11 +144,13 @@ python: package-name: azure-mgmt-logic clear-output-folder: true ``` + ``` yaml $(python) && $(python-mode) == 'update' python: no-namespace-folders: true output-folder: $(python-sdks-folder)/azure-mgmt-logic/azure/mgmt/logic ``` + ``` yaml $(python) && $(python-mode) == 'create' python: basic-setup-py: true