Files
backstage/plugins/search-backend/optic.yml
T
2023-10-23 13:45:00 -04:00

16 lines
848 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
ruleset:
- breaking-changes
capture:
src/schema/openapi.yaml:
# 🔧 Runnable example with simple get requests.
# Run with "PORT=3000 optic capture src/schema/openapi.yaml --update interactive" in 'plugins/search-backend'
# You can change the server and the 'requests' section to experiment
server:
# This will not be used by 'backstage-repo-tools schema openapi test', but may be useful for interactive updates.
url: http://localhost:3000
requests:
# ️ Requests should be sent to the Optic proxy, the address of which is injected into 'run.command's env as OPTIC_PROXY (or the value of 'run.proxy_variable').
run:
# 🔧 Specify a command that will generate traffic
command: yarn backstage-cli package test --no-watch src/service/router.test.ts src/service/createRouter.test.ts