-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Swagger changes for Edge Order Service #12142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
2401d9e
first commit for swagger
sashanm 2cbe693
Merge pull request #1 from sashanm/ordering_swagger_changes
sashanm 799ad3f
moved swagger to 2020-12-01-preview
sashanm bf44211
updated readme
sashanm 992dc34
fixed readme
sashanm 49f4618
added missing examples
sashanm a59eecd
updated readme
sashanm 80de99f
fixed prettier issues
sashanm 35511f3
Merge branch 'master' of https://github.com/sashanm/azure-rest-api-sp…
sashanm 1d524fb
minor fixes
sashanm bfc45dd
Fixed ARM review comments
sashanm 7afd58e
spell check fix
sashanm 4dc5fda
prettier check fix
sashanm e4bd825
changed productfamily metadata Api to post
sashanm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
3,560 changes: 3,560 additions & 0 deletions
3,560
...fication/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json
Large diffs are not rendered by default.
Oops, something went wrong.
78 changes: 78 additions & 0 deletions
78
...order/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,78 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", | ||
| "resourceGroupName": "TestRG", | ||
| "addressName": "TestMicrosoftAddressName2", | ||
| "api-version": "2020-12-01-preview", | ||
| "User-Agent": [ | ||
| "vscode-restclient" | ||
| ], | ||
| "Referer": [ | ||
| "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2?api-version=2020-12-01-preview" | ||
| ], | ||
| "x-ms-client-tenant-id": [ | ||
| " 72f988bf-86f1-41af-91ab-2d7cd011db47" | ||
| ], | ||
| "Content-Type": [ | ||
| "application/json; charset=utf-8" | ||
| ], | ||
| "Content-Length": [ | ||
| "474" | ||
| ], | ||
| "addressResource": { | ||
| "properties": { | ||
| "shippingAddress": { | ||
| "streetAddress1": "16 TOWNSEND ST", | ||
| "streetAddress2": "UNIT 1", | ||
| "city": "San Francisco", | ||
| "stateOrProvince": "CA", | ||
| "country": "US", | ||
| "postalCode": "94107", | ||
| "companyName": "Microsoft", | ||
| "addressType": "None" | ||
| }, | ||
| "contactDetails": { | ||
| "ContactName": "Petr Cech", | ||
| "Phone": "123344334", | ||
| "PhoneExtension": "" | ||
| } | ||
| }, | ||
| "location": "westus", | ||
| "type": "Microsoft.Ordering/addresses" | ||
sashanm marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "properties": { | ||
| "shippingAddress": { | ||
| "streetAddress1": "16 TOWNSEND ST", | ||
| "streetAddress2": "UNIT 1", | ||
| "streetAddress3": "", | ||
| "city": "San Francisco", | ||
| "stateOrProvince": "CA", | ||
| "country": "US", | ||
| "postalCode": "94107", | ||
| "zipExtendedCode": "", | ||
| "companyName": "Microsoft", | ||
| "addressType": "None" | ||
| }, | ||
| "contactDetails": { | ||
| "contactName": "Petr Cech", | ||
| "phone": "123344334", | ||
| "phoneExtension": "" | ||
| } | ||
| }, | ||
| "location": "westus", | ||
| "tags": {}, | ||
| "identity": { | ||
| "type": "None" | ||
| }, | ||
| "name": "TestMicrosoftAddressName2", | ||
| "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2", | ||
| "type": "Microsoft.EdgeOrder/addresses" | ||
| } | ||
| }, | ||
| "202": {} | ||
| } | ||
| } | ||
21 changes: 21 additions & 0 deletions
21
...order/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressDelete.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", | ||
| "resourceGroupName": "TestRG", | ||
| "addressName": "TestAddressName1", | ||
| "api-version": "2020-12-01-preview", | ||
| "User-Agent": [ | ||
| "vscode-restclient" | ||
| ], | ||
| "Referer": [ | ||
| "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName1?api-version=2020-12-01-preview" | ||
| ] | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
sashanm marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "body": "" | ||
| }, | ||
| "202": {}, | ||
| "204": {} | ||
| } | ||
| } | ||
47 changes: 47 additions & 0 deletions
47
...er/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressGetByName.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", | ||
| "resourceGroupName": "TestRG", | ||
| "addressName": "TestMicrosoftAddressName2", | ||
| "api-version": "2020-12-01-preview", | ||
| "User-Agent": [ | ||
| "vscode-restclient" | ||
| ], | ||
| "Referer": [ | ||
| "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2?api-version=2020-12-01-preview" | ||
| ] | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "properties": { | ||
| "shippingAddress": { | ||
| "streetAddress1": "16 TOWNSEND ST", | ||
| "streetAddress2": "UNIT 1", | ||
| "streetAddress3": "", | ||
| "city": "San Francisco", | ||
| "stateOrProvince": "CA", | ||
| "country": "US", | ||
| "postalCode": "94107", | ||
| "zipExtendedCode": "", | ||
| "companyName": "Microsoft", | ||
| "addressType": "None" | ||
| }, | ||
| "contactDetails": { | ||
| "contactName": "Petr Cech", | ||
| "phone": "123344334", | ||
| "phoneExtension": "" | ||
| } | ||
| }, | ||
| "location": "westus", | ||
| "tags": {}, | ||
| "identity": { | ||
| "type": "None" | ||
| }, | ||
| "name": "TestMicrosoftAddressName2", | ||
| "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2", | ||
| "type": "Microsoft.EdgeOrder/addresses" | ||
| } | ||
| } | ||
| } | ||
| } |
86 changes: 86 additions & 0 deletions
86
...eorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressPatch.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", | ||
| "resourceGroupName": "TestRG", | ||
| "addressName": "TestMicrosoftAddressName2", | ||
| "api-version": "2020-12-01-preview", | ||
| "User-Agent": [ | ||
| "vscode-restclient" | ||
| ], | ||
| "Referer": [ | ||
| "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2?api-version=2020-12-01-preview" | ||
| ], | ||
| "Content-Type": [ | ||
| "application/json; charset=utf-8" | ||
| ], | ||
| "Content-Length": [ | ||
| "611" | ||
| ], | ||
| "addressUpdateParameter": { | ||
| "properties": { | ||
| "shippingAddress": { | ||
| "streetAddress1": "16 TOWNSEND STT", | ||
| "streetAddress2": "UNIT 1", | ||
| "city": "San Francisco", | ||
| "stateOrProvince": "CA", | ||
| "country": "US", | ||
| "postalCode": "94107", | ||
| "companyName": "Microsoft", | ||
| "addressType": "None" | ||
| }, | ||
| "contactDetails": { | ||
| "ContactName": "Petr Cech", | ||
| "Phone": "123344335", | ||
| "PhoneExtension": "" | ||
| } | ||
| }, | ||
| "tags": { | ||
| "Name": "Smile-Updated", | ||
| "Work": "Engineering", | ||
| "Hobby": "Web Series Added", | ||
| "WhatElse": "Web Series Added" | ||
| }, | ||
| "location": "westus", | ||
| "type": "Microsoft.EdgeOrder/addresses" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "properties": { | ||
| "shippingAddress": { | ||
| "streetAddress1": "16 TOWNSEND STT", | ||
| "streetAddress2": "UNIT 1", | ||
| "streetAddress3": "", | ||
| "city": "San Francisco", | ||
| "stateOrProvince": "CA", | ||
| "country": "US", | ||
| "postalCode": "94107", | ||
| "zipExtendedCode": "", | ||
| "companyName": "Microsoft", | ||
| "addressType": "None" | ||
| }, | ||
| "contactDetails": { | ||
| "contactName": "Petr Cech", | ||
| "phone": "123344335", | ||
| "phoneExtension": "" | ||
| } | ||
| }, | ||
| "location": "westus", | ||
| "tags": { | ||
| "name": "Smile-Updated", | ||
| "work": "Engineering", | ||
| "hobby": "Web Series Added", | ||
| "whatElse": "Web Series Added" | ||
| }, | ||
| "identity": { | ||
| "type": "None" | ||
| }, | ||
| "name": "TestMicrosoftAddressName2", | ||
| "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2", | ||
| "type": "Microsoft.EdgeOrder/addresses" | ||
| } | ||
| }, | ||
| "202": {} | ||
| } | ||
| } |
108 changes: 108 additions & 0 deletions
108
...ger/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,108 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", | ||
| "resourceGroupName": "TestRG", | ||
| "api-version": "2020-12-01-preview", | ||
| "User-Agent": [ | ||
| "vscode-restclient" | ||
| ], | ||
| "Referer": [ | ||
| "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses?api-version=2020-12-01-preview" | ||
| ] | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "properties": { | ||
| "shippingAddress": { | ||
| "streetAddress1": "16 TOWNSEND ST", | ||
| "streetAddress2": "UNIT 1", | ||
| "streetAddress3": "", | ||
| "city": "San Francisco", | ||
| "stateOrProvince": "CA", | ||
| "country": "US", | ||
| "postalCode": "94107", | ||
| "zipExtendedCode": "", | ||
| "companyName": "Microsoft", | ||
| "addressType": "None" | ||
| }, | ||
| "contactDetails": { | ||
| "contactName": "Petr Cech", | ||
| "phone": "123344334", | ||
| "phoneExtension": "" | ||
| } | ||
| }, | ||
| "location": "westus", | ||
sashanm marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "tags": {}, | ||
| "identity": { | ||
| "type": "None" | ||
| }, | ||
| "name": "TestAddressName0", | ||
| "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName0", | ||
sashanm marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "type": "Microsoft.EdgeOrder/addresses" | ||
| }, | ||
| { | ||
| "properties": { | ||
| "shippingAddress": { | ||
| "streetAddress1": "16 TOWNSEND ST", | ||
| "streetAddress2": "UNIT 1", | ||
| "streetAddress3": "", | ||
| "city": "San Francisco", | ||
| "stateOrProvince": "CA", | ||
| "country": "US", | ||
| "postalCode": "94107", | ||
| "zipExtendedCode": "", | ||
| "companyName": "Microsoft", | ||
| "addressType": "None" | ||
| }, | ||
| "contactDetails": { | ||
| "contactName": "Petr Cech", | ||
| "phone": "123344334", | ||
| "phoneExtension": "" | ||
| } | ||
| }, | ||
| "location": "westus", | ||
| "tags": {}, | ||
| "identity": { | ||
| "type": "None" | ||
| }, | ||
| "name": "TestAddressName2", | ||
| "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName2", | ||
| "type": "Microsoft.EdgeOrder/addresses" | ||
| }, | ||
| { | ||
| "properties": { | ||
| "shippingAddress": { | ||
| "streetAddress1": "16 TOWNSEND ST", | ||
| "streetAddress2": "UNIT 1", | ||
| "streetAddress3": "", | ||
| "city": "San Francisco", | ||
| "stateOrProvince": "CA", | ||
| "country": "US", | ||
| "postalCode": "94107", | ||
| "zipExtendedCode": "", | ||
| "companyName": "Microsoft", | ||
| "addressType": "None" | ||
| }, | ||
| "contactDetails": { | ||
| "contactName": "Petr Cech", | ||
| "phone": "123344334", | ||
| "phoneExtension": "" | ||
| } | ||
| }, | ||
| "location": "westus", | ||
| "tags": {}, | ||
| "identity": { | ||
| "type": "None" | ||
| }, | ||
| "name": "TestMicrosoftAddressName2", | ||
| "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2", | ||
| "type": "Microsoft.EdgeOrder/addresses" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.