marshmallow-code / marshmallow-code/apispec

Metadata for Schema

Open
#337 4 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.