This repository contains the OpenAPI 3.0 specification for the Veeva Vault API.
The API specification is organized by version in the api/ directory. Each version has its own subdirectory (e.g., api/v25.1/).
Inside each versioned directory, the specification is split into multiple files for better maintainability:
openapi.yaml: The main entry point for the API specification. It contains theinfo,servers, and references to the path definitions.paths/: This directory contains the individual API path definitions, with each file corresponding to a specific endpoint.
This structure allows for easier navigation and management of the API specification, especially as it grows and evolves.
To work with this repository, you will need a tool that supports OpenAPI 3.0 specification with file references. Some popular tools include:
- Swagger Editor
- Redocly
- Spectral (for linting)
It is recommended to use a linter like Spectral to validate the specification. You can run Spectral from the command line to check for errors and inconsistencies.
Example command:
spectral lint api/v25.1/openapi.yamlThis will help ensure the quality and consistency of the API specification.