apple / apple/swift-configuration

Access reporter + JSON Schema generator

Open
#154 0 comments 2 reactions 0 assignees View on GitHub
kind/feature
Dominant language
Swift
Stars
811
Forks
60
Avg merge
9h 38m
Merged PRs (30d)
6

Description

A cool feature would be an access reporter that accumulates the keys and types that were read by an access reporter, and emit a JSON Schema that describes that structure.

An app developer can then run this to generate the JSON Schema ones, check it into their repo, and add the JSON Schema link as a comment to their JSON/YAML config file, and many IDE plugins then provide autocompletion and validation.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the existing access reporter and the configuration handling for JSON/YAML, then determine how accessed keys and types should map to JSON Schema. Done means an app developer can generate a schema from an access reporter for IDE validation and autocompletion.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.