Skip to content

Transforms the booklit documentation of Concourse into a detailed JSONSchema

Notifications You must be signed in to change notification settings

spion/concourse-jsonschema-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

concourse-jsonschema-generator

Transforms the booklit documentation of Concourse into a detailed JSONSchema with docs

image

usage

You can regenerate the schema by passing it the contents of the concourse docs repo and globbing the .lit files

cargo build --release
./target/release/concourse-jsonschema-generator \
  path/to/concourse/docs/lit/docs/**/*.lit | jq > schema.json

You can also use the pre-generated shema from this repo directly.

First, install the vscode yaml extension (or the redhat yaml LSP server) for your editor.

Then add the schema with a directive at the top of the pipeline file

# yaml-language-server: $schema=https://raw.githubusercontent.com/spion/concourse-jsonschema-generator/main/schema.json

resource_types:
  # ...
resources:
  # ...
jobs:
  # ...

About

Transforms the booklit documentation of Concourse into a detailed JSONSchema

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages