-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1056 from aml-org/publish-4.7.6
Publish 4.7.6
- Loading branch information
Showing
40 changed files
with
544 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
amf-client/shared/src/test/resources/production/override-enum/api.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#%RAML 1.0 | ||
title: test API to be extended | ||
|
||
types: | ||
TestObject: | ||
type: object | ||
|
||
/test: | ||
get: | ||
responses: | ||
200: | ||
body: | ||
application/json: | ||
type: TestObject |
19 changes: 19 additions & 0 deletions
19
amf-client/shared/src/test/resources/production/override-enum/extension.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#%RAML 1.0 Extension | ||
extends: /api.raml | ||
types: | ||
TestObject: | ||
properties: | ||
testObjectProperty: | ||
enum: | ||
- A | ||
- B | ||
example: | ||
testObjectProperty: A | ||
|
||
/test: | ||
get: | ||
responses: | ||
200: | ||
body: | ||
application/json: | ||
type: TestObject |
19 changes: 19 additions & 0 deletions
19
amf-client/shared/src/test/resources/production/override-enum/result.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#%RAML 1.0 | ||
title: test API to be extended | ||
/test: | ||
get: | ||
responses: | ||
"200": | ||
body: | ||
application/json: | ||
type: object | ||
example: | ||
testObjectProperty: A | ||
additionalProperties: true | ||
properties: | ||
testObjectProperty: | ||
enum: | ||
- A | ||
- B | ||
type: string | ||
required: true |
13 changes: 13 additions & 0 deletions
13
amf-client/shared/src/test/resources/validations/duplicate-property/api.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#%RAML 1.0 | ||
title: test-duplicated-properties-raml10 | ||
|
||
types: | ||
test-duplicated-properties: | ||
type: object | ||
properties: | ||
a: string | ||
a?: string | ||
b: string | ||
b?: string | ||
c: string | ||
d: string |
2 changes: 2 additions & 0 deletions
2
amf-client/shared/src/test/resources/validations/multiple-uses/library.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#%RAML 1.0 Library | ||
|
7 changes: 7 additions & 0 deletions
7
amf-client/shared/src/test/resources/validations/multiple-uses/multiple-uses.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#%RAML 1.0 | ||
title: test-multiple-uses-pointing-to-same-file | ||
version: 1.0 | ||
|
||
uses: | ||
first: library.raml | ||
second: library.raml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...lient/shared/src/test/resources/validations/reports/model/raml/duplicated-property.report
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Model: file://amf-client/shared/src/test/resources/validations/duplicate-property/api.raml | ||
Profile: RAML 1.0 | ||
Conforms? false | ||
Number of results: 1 | ||
|
||
Level: Violation | ||
|
||
- Source: http://a.ml/vocabularies/amf/parser#NodeShape-properties-duplicatePropertyNames | ||
Message: Duplicated property names: a, b | ||
Level: Violation | ||
Target: file://amf-client/shared/src/test/resources/validations/duplicate-property/api.raml#/declarations/types/test-duplicated-properties | ||
Property: http://www.w3.org/ns/shacl#property | ||
Position: Some(LexicalInformation([(8,6)-(9,0)])) | ||
Location: file://amf-client/shared/src/test/resources/validations/duplicate-property/api.raml |
14 changes: 14 additions & 0 deletions
14
amf-client/shared/src/test/resources/validations/valid-extension/api.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#%RAML 1.0 | ||
title: test API to be extended | ||
|
||
types: | ||
TestObject: | ||
type: object | ||
|
||
/test: | ||
get: | ||
responses: | ||
200: | ||
body: | ||
application/json: | ||
type: TestObject |
17 changes: 17 additions & 0 deletions
17
amf-client/shared/src/test/resources/validations/valid-extension/extension.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#%RAML 1.0 Extension | ||
extends: /api.raml | ||
|
||
types: | ||
TestObject: | ||
properties: | ||
unionDate: datetime-only|nil | ||
example: | ||
unionDate: null | ||
|
||
/test: | ||
get: | ||
responses: | ||
200: | ||
body: | ||
application/json: | ||
type: TestObject |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
amf-client/shared/src/test/scala/amf/resolution/EditingResolutionTest.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 1 addition & 4 deletions
5
amf-client/shared/src/test/scala/amf/resolution/ResolutionTest.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
amf.webapi=4.7.5 | ||
amf.core=4.2.221 | ||
amf.custom.validations=5.1.7 | ||
amf.webapi=4.7.6 | ||
amf.core=4.2.223 | ||
amf.custom.validations=5.1.8 | ||
amf.model=3.1.0 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.