Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.2.13

- Correct Swagger 2.0 Schema URL.

## 0.2.12

- Use Avocado git checkout and diff algorithms in breaking-changes and linter-diff.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/rest-api-specs-scripts",
"version": "0.2.12",
"version": "0.2.13",
"description": "Scripts for the Azure RestAPI specification repository 'azure-rest-api-specs'.",
"types": "dist/index.d.ts",
"main": "dist/index.js",
Expand All @@ -27,13 +27,13 @@
"@types/fs-extra": "^5.0.5",
"@types/glob": "^7.1.1",
"@types/js-yaml": "^3.12.1",
"@types/node": "^11.13.4",
"@types/node": "^11.13.6",
"@types/request": "^2.48.1",
"typescript": "^3.4.3"
"typescript": "^3.4.4"
},
"dependencies": {
"@azure/avocado": "^0.4.1",
"@azure/oad": "^0.5.1",
"@azure/oad": "^0.5.2",
"@ts-common/string-map": "^0.3.0",
"fs-extra": "^7.0.1",
"glob": "^7.1.3",
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const asyncJsonRequest = (url: string) => new Promise<unknown>((res, rej) => req

export const extensionSwaggerSchemaUrl = "https://raw.githubusercontent.com/Azure/autorest/master/schema/swagger-extensions.json";
export const swaggerSchemaUrl = "http://json.schemastore.org/swagger-2.0";
export const swaggerSchemaAltUrl = "http://swagger.io/v2/schema.json";
export const swaggerSchemaAltUrl = "http://23.22.16.221/v2/schema.json";
export const schemaUrl = "http://json-schema.org/draft-04/schema";
export const exampleSchemaUrl = "https://raw.githubusercontent.com/Azure/autorest/master/schema/example-schema.json";
export const compositeSchemaUrl = "https://raw.githubusercontent.com/Azure/autorest/master/schema/composite-swagger.json";
Expand Down