marshmallow-code / marshmallow-code/apispec
Metadata for Schema
Open
Nobody has claimed this yet.
feedback welcome
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 202
- Avg merge
- 3h 38m
- Merged PRs (30d)
- 3
Description
I'm using converter.schema2jsonschema(schema) in a project and want to set "additionalProperties" for the generated schema and/or nested schemas in it. Is this possible? I only found documentation on setting it in metadata for a field.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at converter.schema2jsonschema(schema) and review the existing documentation for setting additionalProperties through field metadata. Determine how metadata is passed to the generated top-level and nested schemas, then verify that the requested values appear in the resulting JSON Schema.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100