Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Joe Mayo (MSFT) ecffe620e0
[VS Code] Update schema to support 'format' enums everywhere (#320) 2020-07-27 10:44:11 -07:00
Joe Mayo (MSFT) 5c7eb81831
[VS Code] Update json schemas for apiProperties.json and apiDefinition.swagger.json (#308)
* [VS Code] Update json schemas for apiProperties.json and apiDefinition.swagger.json

* - Added more swagger schema changes that are available, but not used in OSS repo yet.

* - Remove `patternProperties/^x-ms-` so errors in Problems window shows "Property x-ms-... is not allowed", instead of "Matches a schema that is not allowed.", which is more ambiguous and may be other problem.
2020-07-17 17:38:28 -07:00
Joe Mayo (MSFT) 9061a13354
Update schema (#282) 2020-06-17 10:20:20 -07:00
Joe Mayo (MSFT) ac05133c73
{VS Code} Update schemas (#221)
- Set our custom schemas so their ids point to the raw schema file.
  The initial ids were to an html page. The new ids point to the raw file download.
- added support for the optional "$schema" property so loose files can still get intellisense.

Swagger schema updates:
- Added snippets for swagger $ref properties.
- Added support for `x-ms-pageable`
- Added support for `x-ms-enum-values`
- Added enum for `format`

apiProperties schema
- Added policy template `updatenextlink`
- Added some snippets for policy templates
- Remove erroneous definitions of `x-ms-apimTemplate-policySection`
2020-04-23 12:44:31 -07:00
Joe Mayo (MSFT) 78020c8559
[VS Code] Add schemas for common files (#163)
* [VS Code] Add schemas for common files
- settings.json (paconn settings file)
- apiProperties.json
- apiDefinition.swagger.json

The schema for apiDefinition.swagger.json files is modified from the one found at http://schemastore.org/json/.
It includes many 'x-ms-' vendor extensions.

* [apiDefinition.swagger.schema.json] Copy from http://schemastore.org/json/
2020-03-16 10:37:48 -07:00