Files
swagger-ui/test/e2e-cypress/static/documents/features/urls/server-variables-1.yaml
Tim Lai a0e9923dd5 fix(serverVariables): refresh state on definition change (#7821)
* fix(serverVariables): refresh state on definition change

* test(serverVariables): urls with server variables assertions
2022-02-01 15:57:33 -08:00

39 lines
876 B
YAML

openapi: 3.0.1
info:
title: Server Variables - One
description: sample OAS 3 definition to test server variables with urls
version: 1.0.0
servers:
- url: "https://localhost:3200{basePath}"
variables:
basePath:
default: "/oneFirstUrl"
- url: "http://localhost:3201{basePath}"
variables:
basePath:
default: "/oneSecondUrl"
paths:
/a:
post:
summary: simple service A
requestBody:
content:
'application/json':
schema:
properties:
foo:
type: string
bar:
type: string
required:
- foo
type: object
required: true
responses:
200:
description: OK
content:
application/json:
schema:
type: 'string'