worker: Correct servers in openapi spec

Similar to other services on api.openshift.com, the full url should be
shown.
This commit is contained in:
sanne 2021-11-10 11:11:51 +01:00 committed by Tom Gundersen
parent c56eb724e8
commit b075cac9e3
2 changed files with 26 additions and 21 deletions

View file

@ -4,8 +4,12 @@ info:
version: '1'
description: This is an API for workers to request and handle jobs.
servers:
- url: /api/worker/v1
- url: /api/composer-worker/v1
- url: https://api.openshift.com/api/image-builder-worker/v1
description: Main (production) server
- url: https://api.stage.openshift.com/api/image-builder-worker/v1
description: Staging server
- url: /api/image-builder-worker/v1
- url: /api/worker/v1
paths:
/openapi: