Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
json-schema-faker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fork
json-schema-faker
Commits
4ff5a22b
Commit
4ff5a22b
authored
8 years ago
by
Alvaro Cabrera
Browse files
Options
Downloads
Patches
Plain Diff
Remove until it causes issues again; [discussion-needed]
parent
d81fdd6c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
spec/schema/core/issues/empty-props.json
+0
-50
0 additions, 50 deletions
spec/schema/core/issues/empty-props.json
with
0 additions
and
50 deletions
spec/schema/core/issues/empty-props.json
deleted
100644 → 0
+
0
−
50
View file @
d81fdd6c
[
{
"description"
:
"empty properties"
,
"tests"
:
[
{
"description"
:
"should remove empty objects, e.g. [] {}"
,
"schema"
:
{
"type"
:
"object"
,
"properties"
:
{
"foo"
:
{
"$ref"
:
"#/definitions/baz"
}
},
"definitions"
:
{
"baz"
:
{
"type"
:
"array"
,
"items"
:
{
"anyOf"
:
[
{
"$ref"
:
"#/definitions/baz"
}
]
}
}
}
},
"equal"
:
{}
},
{
"description"
:
"should leave props when required"
,
"schema"
:
{
"type"
:
"object"
,
"properties"
:
{
"foo"
:
{
"$ref"
:
"#/definitions/baz"
}
},
"definitions"
:
{
"baz"
:
{
"type"
:
"array"
,
"items"
:
{
"anyOf"
:
[
{
"$ref"
:
"#/definitions/baz"
}
]
}
}
},
"required"
:
[
"foo"
]
},
"equal"
:
{
"foo"
:
[]
}
}
]
}
]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment