-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed an enum related issue and add some RPs in the test (#669)
* Add databricks, fix several issues * Fixed a completer related issue and add support for credential * Add two m4 configuration and fix some issues * Add support for enum with one value * Fixed an enum related issue and add some RPs in the test
- Loading branch information
Showing
45 changed files
with
11,855 additions
and
124 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
224 changes: 109 additions & 115 deletions
224
tests-upgrade/datamodels-datatypes-object/swagger.json
This file contains 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 |
---|---|---|
@@ -1,131 +1,125 @@ | ||
{ | ||
|
||
"swagger": "2.0", | ||
"info": { | ||
"title": "DatabricksClient", | ||
"version": "2018-04-01", | ||
"description": "ARM Databricks" | ||
}, | ||
"host": "management.azure.com", | ||
"schemes": [ | ||
"https" | ||
], | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"security": [ | ||
{ | ||
"azure_auth": [ | ||
"user_impersonation" | ||
] | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "DatabricksClient", | ||
"version": "2018-04-01", | ||
"description": "ARM Databricks" | ||
}, | ||
"host": "management.azure.com", | ||
"schemes": [ | ||
"https" | ||
], | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"security": [ | ||
{ | ||
"azure_auth": [ | ||
"user_impersonation" | ||
] | ||
} | ||
], | ||
"securityDefinitions": { | ||
"azure_auth": { | ||
"type": "oauth2", | ||
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
"flow": "implicit", | ||
"description": "Azure Active Directory OAuth2 Flow", | ||
"scopes": { | ||
"user_impersonation": "impersonate your user account" | ||
} | ||
], | ||
"securityDefinitions": { | ||
"azure_auth": { | ||
"type": "oauth2", | ||
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
"flow": "implicit", | ||
"description": "Azure Active Directory OAuth2 Flow", | ||
"scopes": { | ||
"user_impersonation": "impersonate your user account" | ||
} | ||
}, | ||
"paths": { | ||
"/subscriptions/resourceGroup": { | ||
"get": { | ||
"tags": [ | ||
"Workspaces" | ||
], | ||
"operationId": "Workspaces_Get", | ||
"description": "Gets the workspace.", | ||
"responses": { | ||
"200": { | ||
"description": "OK-Return workspace." | ||
} | ||
} | ||
} | ||
}, | ||
"paths": { | ||
"/subscriptions/resourceGroup": { | ||
"get": { | ||
"tags": [ | ||
"Workspaces" | ||
], | ||
"operationId": "Workspaces_Get", | ||
"description": "Gets the workspace.", | ||
"responses": { | ||
"200": { | ||
"description": "OK-Return workspace." | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": { | ||
"Model": { | ||
"type": "object", | ||
"properties": { | ||
"message": { | ||
"type": "string" | ||
}, | ||
"code": { | ||
"type": "integer" | ||
} | ||
} | ||
}, | ||
"definitions": { | ||
"Model": { | ||
"type": "object", | ||
"properties": { | ||
"message": { | ||
"type": "string" | ||
}, | ||
"code": { | ||
"type": "integer" | ||
} | ||
} | ||
"Model2": { | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "integer" | ||
}, | ||
"Model2": { | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "integer" | ||
}, | ||
"username": { | ||
"type": "string" | ||
}, | ||
"name": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"id", | ||
"username" | ||
] | ||
"username": { | ||
"type": "string" | ||
}, | ||
"Model3": { | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "integer", | ||
"readOnly": true | ||
}, | ||
"password": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"id", | ||
"username" | ||
] | ||
}, | ||
"ContactInfo": { | ||
"type": "object", | ||
"properties": { | ||
"email": { | ||
"type": "string", | ||
"format": "email" | ||
}, | ||
"phone": { | ||
"type": "string" | ||
} | ||
"name": { | ||
"type": "string" | ||
} | ||
}, | ||
"User": { | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "integer" | ||
}, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"contact_info": { | ||
"$ref": "#/definitions/ContactInfo" | ||
} | ||
"required": [ | ||
"id", | ||
"username" | ||
] | ||
}, | ||
"Model3": { | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "integer", | ||
"readOnly": true | ||
}, | ||
"password": { | ||
"type": "string" | ||
} | ||
}, | ||
"Model4": { | ||
"type": "object", | ||
"minProperties": 2, | ||
"maxProperties": 10 | ||
"required": [ | ||
"id", | ||
"username" | ||
] | ||
}, | ||
"ContactInfo": { | ||
"type": "object", | ||
"properties": { | ||
"email": { | ||
"type": "string", | ||
"format": "email" | ||
}, | ||
"phone": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"User": { | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "integer" | ||
}, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"contact_info": { | ||
"$ref": "#/definitions/ContactInfo" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.