@lucas I don’t think it’s that necessary. If bots automatically generate client/server code based on the spec, you can provide it as a dependency, just like with SwiftPM or NPM.
Some servers validate requests based on API specs (e.g., enforcing limits or patterns). In those cases, it might make sense to include the spec file as part of the dependency.