update latest API for guest configuration#324
update latest API for guest configuration#324mgreenegit wants to merge 2 commits intoprojectkudu:masterfrom
Conversation
|
If there is a json file that references an item from the definitions file, then the definitions file will be needed. |
|
just cleanup. what is the best way to tell if it is needed? |
|
Easiest way is to run a local copy of this app. On launching the app, all the swaggers will be parsed and there will be a filenotfoundexception or definitionnotfound exception for any missing but referenced files. Instructions might be a little outdated but you should be able to get the general idea. Other option is to walk through different files and see if they have references to other files. |
|
confirmed it is needed. restored the file. |
| "$ref": "./examples/getGuestConfigurationAssignment.json" | ||
| } | ||
| { | ||
| "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" |
There was a problem hiding this comment.
common types are available at a different relative path (you can see where the old file was referencing parameters/SubscriptionIdParameter from as an example)
| "$ref": "./examples/deleteGuestConfigurationAssignment.json" | ||
| } | ||
| { | ||
| "$ref": "../../common/v1/definitions.json#/parameters/VmNameParameter" |
There was a problem hiding this comment.
if this type is not available in the common-types file, then we would need a local copy of this file in this folder and update the path to reference from that newly added file.
It appears that the "definitions" file is no longer needed? Confirm?