Skip to content

[FEATURE]: document options #3117

Description

@thany

What are the options?

The app doesn't say how each option maps to options in the CLI or in javascript. It's just sort of "there" and you have to trust that those options are somehow mapped to something. Especially on the CLI you have to just guess what might be right. In Javascript too. In Typescript at least you get some kind of insight, but each option doesn't map neatly with the label present in the app. And that's basically the only lead.

It'd be helpful to document them.

Yes, I've looked through the documentation. And it's great, but not great enough 🙂

The argument to quicktype is a complex object with many optional properties. Explore its definition to understand what options are allowed.

That's a link to the options "documentation" directing the reader to the code, "here, explore it yourself". Except that link doesn't actually go to the shape of the options, just some random location in some seemingly random source file. So the idea was sound, but it probably wasn't updated. I wonder what takes more effort: updating documentation every once in a blue moon when the options change, or updating a link to a source file every time that file changes.

There's also a dead link to something I was hoping could help:

Blog post with an older example: http://blog.quicktype.io/customizing-quicktype/

What ever happened to that blog?

Documentation just needs some love.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions