Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-advanced-user-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-advanced-user-tools
Commits
d6ca1447
Commit
d6ca1447
authored
1 year ago
by
Florian Spreckelsen
Committed by
Daniel Hornung
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Apply 2 suggestion(s) to 1 file(s)
parent
6bb3323f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!89
ENH: JsonSchemaExporter accepts do_not_create parameter.
,
!83
ENH: JsonSchemaExporter can merge schemata and arrayize them
Pipeline
#43231
passed
1 year ago
Stage: setup
Stage: cert
Stage: style
Stage: unittest
Stage: integrationtest
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/caosadvancedtools/json_schema_exporter.py
+2
-2
2 additions, 2 deletions
src/caosadvancedtools/json_schema_exporter.py
with
2 additions
and
2 deletions
src/caosadvancedtools/json_schema_exporter.py
+
2
−
2
View file @
d6ca1447
...
...
@@ -49,7 +49,7 @@ class JsonSchemaExporter:
Whether additional properties will be admitted in the resulting
schema. Optional, default is True.
name_and_description_in_properties : bool, optional
Whether object
which
are generated from reference properties shall have a `name` and
Whether object
s that
are generated from reference properties shall have a `name` and
`description` property in the generated schema. Optional, default is False.
additional_options_for_text_props : dict, optional
Dictionary containing additional
"
pattern
"
or
"
format
"
options for
...
...
@@ -292,7 +292,7 @@ def recordtype_to_json_schema(rt: db.RecordType, additional_properties: bool = T
Whether additional properties will be admitted in the resulting
schema. Optional, default is True.
name_and_description_in_properties : bool, optional
Whether object
which
are generated from reference properties shall have a `name` and
Whether object
s that
are generated from reference properties shall have a `name` and
`description` property in the generated schema. Optional, default is False.
additional_options_for_text_props : dict, optional
Dictionary containing additional
"
pattern
"
or
"
format
"
options for
...
...
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