Skip to content

Commit

Permalink
Updated request models for R2026 issue agrifood microsoft.ag food pla…
Browse files Browse the repository at this point in the history
…tform 2023-06-01-preview (#25057)

* Adds base for updating Microsoft.AgFoodPlatform from version preview/2021-09-01-preview to version 2023-06-01-preview

* Updates readme

* Updates API version in new specs and examples

* Rename changes + Control Plane BYOL changes

* added examples

* added examples for data Connector Apis

* fixing lint issues

* reorder and updated description

* node description updated.

* updated like Solution Apis

* beautify json examples

* prettier fix

* custom words + spelling fix

* system data lower case

* removed dataConnectorName from example + lint fix

* fixed lint issue in example

* prettier fix

* Default Error response   + 201 code

* Description updated

* request model made same as response in patch

* added status code 201 in PUT API

* updated solution example

* updated changes for OAuth renaming

* updated Data Connector examples

* example update

* corrected typo

* syncing to latest DI Agri branch

* added MADMA in custom-words file

* data connector delete example updated

* solution example updated

* xms error fix

* added xms-identifier

* fixing examples

* updated create or update example

* prettier fix

* solution fix

* updated examples

* prettier fix

* lint issue fix

* fixing lint diff

---------

Co-authored-by: Abhishek Khatri <[email protected]>
  • Loading branch information
ryuzakil and msft-akhatri authored Aug 1, 2023
1 parent 2d3587a commit 51d6ec1
Showing 1 changed file with 22 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1876,19 +1876,16 @@
"allOf": [
{
"$ref": "#/definitions/AuthCredentials"
},
{
"required": [
"apiKey"
],
"type": "object",
"properties": {
"apiKey": {
"$ref": "#/definitions/KeyVaultProperties"
}
}
}
],
"required": [
"apiKey"
],
"properties": {
"apiKey": {
"$ref": "#/definitions/KeyVaultProperties"
}
},
"x-ms-discriminator-value": "ApiKeyAuthCredentials"
},
"ApiProperties": {
Expand Down Expand Up @@ -2577,25 +2574,22 @@
"allOf": [
{
"$ref": "#/definitions/AuthCredentials"
},
{
"required": [
"clientId",
"clientSecret"
],
"type": "object",
"properties": {
"clientId": {
"description": "ClientId associated with the provider.",
"minLength": 1,
"type": "string"
},
"clientSecret": {
"$ref": "#/definitions/KeyVaultProperties"
}
}
}
],
"required": [
"clientId",
"clientSecret"
],
"properties": {
"clientId": {
"description": "ClientId associated with the provider.",
"minLength": 1,
"type": "string"
},
"clientSecret": {
"$ref": "#/definitions/KeyVaultProperties"
}
},
"x-ms-discriminator-value": "OAuthClientCredentials"
},
"PublicNetworkAccess": {
Expand Down

0 comments on commit 51d6ec1

Please sign in to comment.