Skip to content

Modular openui.yaml #1

@consoleillusion

Description

@consoleillusion

I want to separate the openui.yaml into separate documents, keeping each components yaml in a folder with its specific component. Is there a plan for a standard way to support that? The spec says it must be called openui.yaml or openui.json, and be in the root of the Github project(You should really say Git, as a lot of people use other Git Collab tools).

For example my project is something like this

src/components/Button/index.astro
src/components/Button/button.css
src/components/Button/openui.yaml


src/components/Accordion/index.astro
src/components/Accordion/accordion.css
src/components/Accordion/openui.yaml
name: Button
props:
  text:
    type: string
    default: Click Me
  variant:
    type: string
    enum: ["filled", "ghost"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions