LocalAI/openai-openapi/remove_depreciated_openapi.yaml
2023-05-20 18:29:54 -04:00

12 lines
No EOL
404 B
YAML

#! This doesn't actually work or get used yet. It's a scratch space for an idea of mine - we might want to just strip out and ignore depreciated portions of the spec. Not reliable enough to use yet.
#@ load("@ytt:overlay", "overlay")
#@overlay/match by=overlay.all, expects="1+"
---
paths:
#!overlay/match by=overlay.subset({"deprecated": True})
#@overlay/remove
*:
*:
depreciated: True