Skip to content

Commit ee2ae2a

Browse files
committed
Merge pull request OAI#473 from georgthegreat/master
Fixed invalid urls in v1.2 specifications
2 parents 40a2166 + b5d64c9 commit ee2ae2a

11 files changed

+11
-11
lines changed

schemas/v1.2/apiDeclaration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "http://swagger-api.github.io/schemas/v1.2/apiDeclaration.json#",
2+
"id": "https://raw.githubusercontent.com/swagger-api/swagger-spec/master/schemas/v1.2/apiDeclaration.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"type": "object",
55
"required": [ "swaggerVersion", "basePath", "apis" ],

schemas/v1.2/authorizationObject.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "http://swagger-api.github.io/schemas/v1.2/authorizationObject.json#",
2+
"id": "https://raw.githubusercontent.com/swagger-api/swagger-spec/master/schemas/v1.2/authorizationObject.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"type": "object",
55
"additionalProperties": {

schemas/v1.2/dataType.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "http://swagger-api.github.io/schemas/v1.2/dataType.json#",
2+
"id": "https://raw.githubusercontent.com/swagger-api/swagger-spec/master/schemas/v1.2/dataType.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"description": "Data type as described by the specification (version 1.2)",
55
"type": "object",

schemas/v1.2/dataTypeBase.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "http://swagger-api.github.io/schemas/v1.2/dataTypeBase.json#",
2+
"id": "https://raw.githubusercontent.com/swagger-api/swagger-spec/master/schemas/v1.2/dataTypeBase.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"description": "Data type fields (section 4.3.3)",
55
"type": "object",

schemas/v1.2/infoObject.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "http://swagger-api.github.io/schemas/v1.2/infoObject.json#",
2+
"id": "https://raw.githubusercontent.com/swagger-api/swagger-spec/master/schemas/v1.2/infoObject.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"description": "info object (section 5.1.3)",
55
"type": "object",

schemas/v1.2/modelsObject.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "http://swagger-api.github.io/schemas/v1.2/modelsObject.json#",
2+
"id": "https://raw.githubusercontent.com/swagger-api/swagger-spec/master/schemas/v1.2/modelsObject.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"type": "object",
55
"required": [ "id", "properties" ],

schemas/v1.2/oauth2GrantType.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "http://swagger-api.github.io/schemas/v1.2/oauth2GrantType.json#",
2+
"id": "https://raw.githubusercontent.com/swagger-api/swagger-spec/master/schemas/v1.2/oauth2GrantType.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"type": "object",
55
"minProperties": 1,

schemas/v1.2/operationObject.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "http://swagger-api.github.io/schemas/v1.2/operationObject.json#",
2+
"id": "https://raw.githubusercontent.com/swagger-api/swagger-spec/master/schemas/v1.2/operationObject.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"type": "object",
55
"allOf": [

schemas/v1.2/parameterObject.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "http://swagger-api.github.io/schemas/v1.2/parameterObject.json#",
2+
"id": "https://raw.githubusercontent.com/swagger-api/swagger-spec/master/schemas/v1.2/parameterObject.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"type": "object",
55
"allOf": [

schemas/v1.2/resourceListing.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "http://swagger-api.github.io/schemas/v1.2/resourceListing.json#",
2+
"id": "https://raw.githubusercontent.com/swagger-api/swagger-spec/master/schemas/v1.2/resourceListing.json#",
33
"$schema": "http://json-schema.org/draft-04/schema#",
44
"type": "object",
55
"required": [ "swaggerVersion", "apis" ],

0 commit comments

Comments
 (0)