Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
9b11898
data-model: first version
Silvanoc Mar 13, 2026
3aa662a
linkml-openapigen: fixes and improvements over upstream
Silvanoc Mar 23, 2026
1af467f
openapi-validation: add tool to validate openapi generation
Silvanoc Jul 15, 2026
23dfd30
tests: add (in)valid examples for data-model validation
Silvanoc Jul 18, 2026
278ac57
tools: generate artifacts from data-model
Silvanoc Mar 13, 2026
1eb8eae
docs: diffs pre data-model
Silvanoc Jul 17, 2026
9e44e7e
docs: add ai agents help
Silvanoc May 13, 2026
5f6f7b2
deps: add and update
Silvanoc Jul 17, 2026
f07d57e
ci: update workflows
Silvanoc May 13, 2026
4eae01d
validation tool - improve output
Silvanoc Jul 20, 2026
abb6d4f
validation tool - add option to show single schema
Silvanoc Jul 20, 2026
561dc14
validation tool - add option to dump compared yaml
Silvanoc Jul 20, 2026
a8f05f8
style: openapigen format
Silvanoc Jul 20, 2026
b56a473
openapigen: accept further properties
Silvanoc Jul 20, 2026
5f49a56
openapigen: workaround linkml issue 3611
Silvanoc Jul 21, 2026
710d5c7
data-model: remove references specification pages
Silvanoc Jul 21, 2026
7d23661
refactor: new folder structure
Silvanoc Jul 27, 2026
8297323
feat: support nullable required slots
Silvanoc Jul 28, 2026
ffd46ce
docs: describe how to generate the openapi yaml
Silvanoc Jul 28, 2026
2fbd808
generated: class diagrams
Silvanoc Jul 18, 2026
d2b7c0b
docs: describe how to compare the openapi
Silvanoc Jul 28, 2026
3c7f9b1
fix: get openapi v3.1.0 working
Silvanoc Jul 29, 2026
01de675
fix: update to changes in main branch
Silvanoc Sep 3, 2026
e82cf36
generated: oad
Silvanoc Sep 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 27 additions & 31 deletions .githooks/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -24,37 +24,33 @@ url="$2"

zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')

while read local_ref local_oid remote_ref remote_oid
do
if test "$local_oid" = "$zero"
then
# Handle delete
:
else
if test "$remote_oid" = "$zero"
then
# New branch, examine all commits
range="$local_oid"
else
# Update to existing branch, examine new commits
range="$remote_oid..$local_oid"
fi

# Check for WIP commit
commit=$(git rev-list -n 1 --grep '^WIP' "$range")
if test -n "$commit"
then
echo >&2 "Found WIP commit in $local_ref, not pushing"
exit 1
fi

# Check test examples
set -e
doc-generation/check-examples.bash
doc-generation/check-openapi.bash
set +e

fi
while read local_ref local_oid remote_ref remote_oid; do
if test "$local_oid" = "$zero"; then
# Handle delete
:
else
if test "$remote_oid" = "$zero"; then
# New branch, examine all commits
range="$local_oid"
else
# Update to existing branch, examine new commits
range="$remote_oid..$local_oid"
fi

# Check for WIP commit
commit=$(git rev-list -n 1 --grep '^WIP' "$range")
if test -n "$commit"; then
echo >&2 "Found WIP commit in $local_ref, not pushing"
exit 1
fi

# Check test examples
set -e
data-model/tools/check-examples.bash
doc-generation/check-openapi.bash
set +e

fi
done

exit 0
25 changes: 15 additions & 10 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

- name: Run tests
run: |
doc-generation/check-examples.bash
tools/check-examples.bash

- name: Check OpenAPI documents
run: |
Expand Down Expand Up @@ -94,17 +94,18 @@ jobs:
- name: Install dependencies
run: poetry install --no-interaction --all-extras

- name: Generate MarkDown documentation
- name: Generate all artifacts
run: |
doc-generation/generate-documentation.bash
tools/generate-all.bash

- name: Share generated documentation with later jobs
- name: Share generated artifacts with later jobs
uses: actions/upload-artifact@v4
with:
name: generated-documentation
name: generated-artifacts
path: |
system-design/specification/applications/application-description.md
system-design/specification/margo-management-interface/desired-state.md
docs/specification/applications/application-description.md
docs/specification/margo-management-interface/desired-state.md
system-design/specification/margo-management-interface/workload-management-api-1.0.0.yaml

pages:
needs:
Expand Down Expand Up @@ -139,11 +140,15 @@ jobs:
- name: Install the project dependencies
run: poetry install

- name: Get generated documentation from previous jobs
- name: Get generated artifacts from previous jobs
uses: actions/download-artifact@v4
with:
name: generated-documentation
path: system-design/specification
name: generated-artifacts
path: docs/specification

- name: Generate merged documentation tree
run: |
tools/generate-docs.bash

- name: Build Pages
run: poetry run -- mkdocs build
Expand Down
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ myenv
.python-version

# Ignore the generated files:
system-design/specification/margo-management-interface/desired-state.md
system-design/specification/applications/application-description.md
src/specification/applications/docs
src/specification/margo-management-interface/docs
build
docs/specification/margo-management-interface/desired-state.md
docs/specification/applications/application-description.md
*.code-workspace
Loading
Loading