Skip to content
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
6 changes: 3 additions & 3 deletions enterprise/e2e/html/hurl/list.all.hurl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ header "Last-Modified" exists
jsonpath "$.path" == "/"
jsonpath "$.url" == "{{base}}"
jsonpath "$.breadcrumb" count == 0
jsonpath "$.schemas" == 29
jsonpath "$.schemas" == 94
jsonpath "$.entries" count == 2
jsonpath "$.entries[0].name" == "self"
jsonpath "$.entries[0].title" == "Self"
Expand All @@ -23,8 +23,8 @@ jsonpath "$.entries[0].schemas" == 28
jsonpath "$.entries[0].path" == "/self/"
jsonpath "$.entries[1].name" == "test"
jsonpath "$.entries[1].type" == "directory"
jsonpath "$.entries[1].health" == 67
jsonpath "$.entries[1].schemas" == 1
jsonpath "$.entries[1].health" == 13
jsonpath "$.entries[1].schemas" == 66
jsonpath "$.entries[1].path" == "/test/"

POST {{base}}/self/v1/api/schemas/evaluate{{schema_path}}
Expand Down
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/01.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/02.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/03.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/04.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/05.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/06.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/07.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/08.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/09.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/10.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/11.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/12.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/13.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/14.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/15.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/16.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/17.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/18.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/19.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/20.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/21.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/22.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/23.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/24.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/25.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/26.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/27.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/28.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/29.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/30.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/31.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/32.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/33.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/34.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/35.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/36.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/37.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/38.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/39.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/40.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/41.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/42.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/43.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/44.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/45.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/46.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/47.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/48.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/49.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
4 changes: 4 additions & 0 deletions enterprise/e2e/html/schemas/test/bare/50.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
5 changes: 5 additions & 0 deletions enterprise/e2e/html/schemas/test/description-only/01.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A schema with only a description (01)",
"type": "string"
}
5 changes: 5 additions & 0 deletions enterprise/e2e/html/schemas/test/description-only/02.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A schema with only a description (02)",
"type": "string"
}
5 changes: 5 additions & 0 deletions enterprise/e2e/html/schemas/test/description-only/03.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A schema with only a description (03)",
"type": "string"
}
5 changes: 5 additions & 0 deletions enterprise/e2e/html/schemas/test/description-only/04.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A schema with only a description (04)",
"type": "string"
}
5 changes: 5 additions & 0 deletions enterprise/e2e/html/schemas/test/description-only/05.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A schema with only a description (05)",
"type": "string"
}
6 changes: 6 additions & 0 deletions enterprise/e2e/html/schemas/test/full/01.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Full 01",
"description": "A schema with both a title and a description (01)",
"type": "string"
}
6 changes: 6 additions & 0 deletions enterprise/e2e/html/schemas/test/full/02.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Full 02",
"description": "A schema with both a title and a description (02)",
"type": "string"
}
6 changes: 6 additions & 0 deletions enterprise/e2e/html/schemas/test/full/03.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Full 03",
"description": "A schema with both a title and a description (03)",
"type": "string"
}
6 changes: 6 additions & 0 deletions enterprise/e2e/html/schemas/test/full/04.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Full 04",
"description": "A schema with both a title and a description (04)",
"type": "string"
}
6 changes: 6 additions & 0 deletions enterprise/e2e/html/schemas/test/full/05.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Full 05",
"description": "A schema with both a title and a description (05)",
"type": "string"
}
5 changes: 5 additions & 0 deletions enterprise/e2e/html/schemas/test/title-only/01.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Title Only 01",
"type": "string"
}
5 changes: 5 additions & 0 deletions enterprise/e2e/html/schemas/test/title-only/02.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Title Only 02",
"type": "string"
}
5 changes: 5 additions & 0 deletions enterprise/e2e/html/schemas/test/title-only/03.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Title Only 03",
"type": "string"
}
5 changes: 5 additions & 0 deletions enterprise/e2e/html/schemas/test/title-only/04.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Title Only 04",
"type": "string"
}
5 changes: 5 additions & 0 deletions enterprise/e2e/html/schemas/test/title-only/05.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Title Only 05",
"type": "string"
}
1 change: 1 addition & 0 deletions enterprise/e2e/path/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM one
COPY one.json .
COPY schemas schemas
RUN sourcemeta one.json --profile
RUN set -e && test -d "$SOURCEMETA_ONE_WORKDIR" && \
test -z "$(ls -A "$SOURCEMETA_ONE_WORKDIR")"
Expand Down
7 changes: 6 additions & 1 deletion enterprise/e2e/path/one.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"url": "http://localhost:8000/v1/catalog"
"url": "http://localhost:8000/v1/catalog",
"contents": {
"example": {
"path": "./schemas/example"
}
}
}
4 changes: 4 additions & 0 deletions enterprise/e2e/path/schemas/example/bare.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string"
}
5 changes: 5 additions & 0 deletions enterprise/e2e/path/schemas/example/description-only.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A schema with only a description and no title",
"type": "string"
}
6 changes: 6 additions & 0 deletions enterprise/e2e/path/schemas/example/full.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Example With Both",
"description": "A schema that has both a title and a description",
"type": "string"
}
Loading
Loading