Skip to content

feat: network spec schema and validation#6

Merged
hojmark merged 1 commit into
mainfrom
feat/specValidation
Jul 4, 2025
Merged

feat: network spec schema and validation#6
hojmark merged 1 commit into
mainfrom
feat/specValidation

Conversation

@hojmark
Copy link
Copy Markdown
Owner

@hojmark hojmark commented Jun 4, 2025

  • JSON schema for network spec YAML validation
  • New drift lint command to validate spec files against the schema
    • Ensure it works with AOT
  • Editor auto-completion using convention based "integration" (VS Code, JetBrains editors, etc.)

Editor usage

# yaml-language-server: $schema=https://raw.githubusercontent.com/hojmark/drift/refs/heads/main/src/Spec/embedded_resources/schemas/drift-spec-v1-preview.schema.json

network:
  ...

Command usage

drift lint my-network

@hojmark hojmark force-pushed the feat/specValidation branch from de25acc to 4303a88 Compare June 24, 2025 21:21
@hojmark hojmark force-pushed the feat/specValidation branch from fe5fafd to 1c8a424 Compare July 4, 2025 20:25
@hojmark hojmark force-pushed the feat/specValidation branch from 2fe29e8 to e83cd00 Compare July 4, 2025 20:57
@hojmark hojmark merged commit 16f0a21 into main Jul 4, 2025
2 checks passed
@hojmark hojmark deleted the feat/specValidation branch July 4, 2025 21:00
@hojmark hojmark added the enhancement New feature or request label Jul 6, 2025
@hojmark hojmark added this to the 1.0.0 milestone Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant