Getting started Community Training Tutorials Documentation APIs, AI & Tools
openapi: '3.0.2'
info:
title: Multi-server Cemo API
version: '1.0'
servers: (1)
- url: https://{customerId}.saas-app.com:{port}/v2
variables:
customerId:
default: demo
description: Customer ID assigned by the service provider
port:
enum:
- '443'
- '8443'
default: '443'
- url: https://{region}.api.company.com
variables:
region:
default: westus
enum:
- westus
- eastus2
- westcentralus
- westeurope
- southeastasia
- url: https://api.company.org/data/2.5/
description: Production server
- url: http://beta.api.company.org/data/2.5/
description: Beta server
paths:
/default:(2)
description: A default path to the API
get:(3)
summary: "The get method for /default"
responses:
200:
description: Successful response
/duplicated:(4)
description: Has some of the default servers
servers:
- url: https://api.company.org/data/2.5/
description: Production server
- url: http://beta.api.company.org/data/2.5/
description: Beta server
get:(5)
summary: "The get method for /duplicated"
responses:
200:
description: Successful response
/files:(6)
description: File upload and download operations
servers:
- url: https://files.example.com
description: Override base path for all operations with the /files path
get:(7)
summary: "The get method for /files"
responses:
200:
description: Successful response
/ping:(8)
servers:
- url: https://endpoint.example.com
description: Override base path servers
get:(9)
servers:
- url: https://echo.example.com
description: Override base path for the GET /ping operation
- url: https://echo2.example.com
description: Also overrides base path for the GET /ping operation
summary: "The get method for /ping"
responses:
200:
description: Successful response
post:(10)
summary: "The post method for /ping"
responses:
201:
description: Successful create



