Getting Started
Quick StartSpecification
Basic Structure API Specification Keys Python Code Environment Variables Custom Variables Chaining Requests API Specification in Multiple FilesConfiguration
Command Line Interface - CLI Configuration File Hiding Sensitive InformationAPI Specification in Multiple Files
With !include
, it is possible to build your API specification in multiple files.
For example, these two files
# scanapi.yaml
endpoints:
- name: scanapi-demo
path: ${BASE_URL}
requests: !include include.yaml
# include.yaml
- name: health
path: /health/
would generate:
endpoints:
- name: scanapi-demo
path: ${BASE_URL}
requests:
- name: health
path: /health/