yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project
MIT License
7.01k stars 818 forks source link

add json-schema #1357

Open Kila2 opened 1 year ago

Kila2 commented 1 year ago

add json schema files.

yonaskolb commented 1 year ago

Wow looks like a lot of work went into these. How did you create them? What is your intention of adding them here? They would serve as a good source of truth for documentation, but at the moment they just duplicate information. I'm worried about the maintenance work these would create if these weren't generated, or these weren't being used to generate documentation.

Kila2 commented 1 year ago

Wow looks like a lot of work went into these. How did you create them? What is your intention of adding them here? They would serve as a good source of truth for documentation, but at the moment they just duplicate information. I'm worried about the maintenance work these would create if these weren't generated, or these weren't being used to generate documentation.

The current completion level is sufficient for my needs. I have submitted a PR to provide additional features.

imWildCat commented 1 year ago

I'm worried about the maintenance work these would create if these weren't generated, or these weren't being used to generate documentation.

That's a valid concern. But currently the configuration structs are usually not Codable, which makes it not feasible to generate the JSON schema in the short term.

As we don't usually introduce breaking changes in the format of project.yml, it is not a bad idea to merge handwritten schema to this repo.