Skip to content

Commit ecf6800

Browse files
committed
removing descriptions
1 parent f9bfb59 commit ecf6800

File tree

7 files changed

+23
-29
lines changed

7 files changed

+23
-29
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": "The string representation",
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": "A link description object",
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": "media type 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": "payloadArguments",
5554
"type": "string"
5655
},
5756
"argumentValue": {
58-
"description": "Argument value (typically a key field) of the payload item",
57+
"description": "payloadArguments",
5958
"type": "string"
6059
}
6160
}

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": "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": "Test 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
@@ -60,14 +60,14 @@
6060
"asOfDate": {
6161
"name": "asOfDate",
6262
"in": "query",
63-
"description": "Filter on the records that is effective, or overlap, on the asOfDate",
63+
"description": "date",
6464
"required": false,
6565
"example": "2017-01-01"
6666
},
6767
"header_Accept-Language": {
6868
"name": "Accept-Language",
6969
"in": "header",
70-
"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.",
70+
"description": "Accept-Language",
7171
"required": false,
7272
"schema": {
7373
"type": "string"

0 commit comments

Comments
 (0)