Skip to content

Commit 911d018

Browse files
authored
Merge pull request #851 from swagger-api/issue_relative_ref_OAS3
removing descriptions
2 parents cc2190c + eac64f0 commit 911d018

File tree

14 files changed

+40
-52
lines changed

14 files changed

+40
-52
lines changed

modules/swagger-parser/src/test/resources/exampleSpecs/specs/common/confirmMessageType_v01.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
3-
"description": "The confirm message contains the processing results for the corresponding request. A request may have its processing reported as: succeeded, partially failed, or failed.",
2+
"description": "",
43
"type": "object",
54
"properties": {
65
"confirmMessageID": {
7-
"description": "An identifier for the instance of the confirm message",
6+
"description": "",
87
"$ref": "./simpleIDType_v01.json"
98
},
109
"processID": {
11-
"description": "A process identifier if one is available, like a batch ID",
10+
"description": "",
1211
"$ref": "./simpleIDType_v01.json"
1312
},
1413
"processStatus": {
15-
"description": "The process results status code for the request",
14+
"description": "",
1615
"type": "string",
1716
"enum": [
1817
"success", "partial-failure", "failure"
@@ -24,15 +23,15 @@
2423
"type": "object",
2524
"properties": {
2625
"resourceID": {
27-
"description": "A resource identifier if one is available",
26+
"description": "",
2827
"$ref": "./simpleIDType_v01.json"
2928
},
3029
"resourceReference": {
31-
"description": "An optional additiona reference to the resource",
30+
"description": "",
3231
"type": "string"
3332
},
3433
"resourceStatus": {
35-
"description": "The process results status code for the request",
34+
"description": "",
3635
"type": "string",
3736
"enum": [
3837
"success", "partial-failure", "failure"

modules/swagger-parser/src/test/resources/exampleSpecs/specs/common/confirmMessageType_v02.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
3-
"description": "The confirm message contains the processing results for the corresponding request. A request may have its processing reported as: succeeded, partially failed, or failed.",
2+
"description": "",
43
"type": "object",
54
"properties": {
65
"confirmMessageID": {
7-
"description": "An identifier for the instance of the confirm message",
6+
"description": "",
87
"$ref": "./simpleIDType_v01.json"
98
},
109
"processID": {
11-
"description": "A process identifier if one is available, like a batch ID",
10+
"description": "",
1211
"$ref": "./simpleIDType_v01.json"
1312
},
1413
"processStatus": {
15-
"description": "The process results status code for the request",
14+
"description": "",
1615
"type": "string",
1716
"enum": [
1817
"success", "partial-failure", "failure"
@@ -24,15 +23,15 @@
2423
"type": "object",
2524
"properties": {
2625
"resourceID": {
27-
"description": "A resource identifier if one is available",
26+
"description": "",
2827
"$ref": "./simpleIDType_v01.json"
2928
},
3029
"resourceReference": {
31-
"description": "An optional additiona reference to the resource",
30+
"description": "",
3231
"type": "string"
3332
},
3433
"resourceStatus": {
35-
"description": "The process results status code for the request",
34+
"description": "",
3635
"type": "string",
3736
"enum": [
3837
"success", "partial-failure", "failure"
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
32
"title": "date",
4-
"description": "The string representation of the date value using the ISO-8601:2000 format",
3+
"description": "",
54
"type": "string",
65
"format": "date"
76
}

modules/swagger-parser/src/test/resources/exampleSpecs/specs/common/linkType_v01.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
32
"title": "link",
4-
"description": "A link description object is used to describe link relations. In the context of a schema, it defines the link relations of the instances of the schema, and can be parameterized by the instance values. The link description format can be used on its own in regular (non-schema) documents, and use of this format can be declared by referencing the normative link description schema as the schema for the data structure that uses the links.",
3+
"description": "",
54
"type": "object",
65
"properties": {
76
"href": {
87
"$ref": "./simpleIDType_v01.json"
98
},
109
"mediaType": {
11-
"description": "The media type that the linked resource will return (Response) in",
10+
"description": "",
1211
"type": "string",
1312
"enum": [
1413
"application/gzip",
@@ -51,11 +50,11 @@
5150
"type": "object",
5251
"properties": {
5352
"argumentPath": {
54-
"description": "Argument path (typically a key field) of the payload item",
53+
"description": "",
5554
"type": "string"
5655
},
5756
"argumentValue": {
58-
"description": "Argument value (typically a key field) of the payload item",
57+
"description": "",
5958
"type": "string"
6059
}
6160
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
32
"title": "simpleID",
4-
"description": "Simple (string) identifier of an object to be used when there is no appropriate specific named ID Type",
3+
"description": "",
54
"type": "string",
65
"pattern": "^[a-zA-Z0-9.$-_\/]+$"
76
}

modules/swagger-parser/src/test/resources/exampleSpecs/specs/my-domain/test-api/v1/schemas/test-api-schema_v01.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
3-
"description": "Collection of pay schedules for a given organization",
2+
"description": "",
43
"type": "object",
54
"properties": {
65
"testingApi": {

modules/swagger-parser/src/test/resources/exampleSpecs/specs/my-domain/test-api/v1/schemas/test-api-schema_v02.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
3-
"description": "Collection of pay schedules for a given organization",
2+
"description": "",
43
"type": "object",
54
"properties": {
65
"testingApi": {

modules/swagger-parser/src/test/resources/exampleSpecs/specs/my-domain/test-api/v1/test-api-swagger_v1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"asOfDate": {
7575
"name": "asOfDate",
7676
"in": "query",
77-
"description": "Filter on the records that is effective, or overlap, on the asOfDate",
77+
"description": "",
7878
"required": false,
7979
"schema": {
8080
"$ref": "../../../common/dateType_v01.json"
@@ -84,7 +84,7 @@
8484
"header_Accept-Language": {
8585
"name": "Accept-Language",
8686
"in": "header",
87-
"description": "Accept-Language : ( language | * ) [; q =qvalue]. Specifies the language(s) that are acceptable for the response. The optional qvalue represents a quality level for acceptable languages.",
87+
"description": "Accept-Language",
8888
"required": false,
8989
"schema": {
9090
"type": "string"

modules/swagger-parser/src/test/resources/specs2/common/confirmMessageType_v01.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
3-
"description": "The confirm message contains the processing results for the corresponding request. A request may have its processing reported as: succeeded, partially failed, or failed.",
2+
"description": "",
43
"type": "object",
54
"properties": {
65
"confirmMessageID": {
7-
"description": "An identifier for the instance of the confirm message",
6+
"description": "",
87
"$ref": "./simpleIDType_v01.json"
98
},
109
"processID": {
11-
"description": "A process identifier if one is available, like a batch ID",
10+
"description": "",
1211
"$ref": "./simpleIDType_v01.json"
1312
},
1413
"processStatus": {
15-
"description": "The process results status code for the request",
14+
"description":"",
1615
"type": "string",
1716
"enum": [
1817
"success", "partial-failure", "failure"
@@ -24,15 +23,15 @@
2423
"type": "object",
2524
"properties": {
2625
"resourceID": {
27-
"description": "A resource identifier if one is available",
26+
"description": "",
2827
"$ref": "./simpleIDType_v01.json"
2928
},
3029
"resourceReference": {
31-
"description": "An optional additiona reference to the resource",
30+
"description": "",
3231
"type": "string"
3332
},
3433
"resourceStatus": {
35-
"description": "The process results status code for the request",
34+
"description": "",
3635
"type": "string",
3736
"enum": [
3837
"success", "partial-failure", "failure"
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
32
"title": "date",
4-
"description": "The string representation of the date value using the ISO-8601:2000 format",
3+
"description": "",
54
"type": "string",
65
"format": "date"
76
}

0 commit comments

Comments
 (0)