Skip to content

Commit

Permalink
chore: Add yaml file needed by unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
en-milie committed Sep 25, 2024
1 parent fe7276e commit b42f446
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions src/test/resources/petstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,66 @@ paths:
$ref: '#/components/schemas/Error'
/reference-pets:
$ref: '#/paths/~1pets~1{id}'
/pet/url-encoded/{hook_id}:
put:
description: Updates a hook configuration.
operationId: updateHook
parameters:
- description: Hook ID
in: path
name: hook_id
required: true
schema:
type: string
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Error"
description: Request body updates given hook.
required: true
responses:
"200":
content:
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Error"
description: "My error"
/mimic/agent/{agentNum}/value/mset:
put:
description: This is a performance optimization of the mimic value set command, to be used when many variables are to be set.
operationId: mset_value
parameters:
- description: Agent of the value space
in: path
name: agentNum
required: true
schema:
format: int32
type: integer
requestBody:
content:
application/json:
schema:
items:
items:
type: string
type: array
type: array
description: objInsVarValArray
responses:
"200":
content:
application/json:
schema:
type: string
description: successful operation
"400":
description: Invalid agent number value
summary: Set multiple variables in the Value Space.
tags:
- Valuespace

/pets:
get:
summary: List all pets
Expand Down

0 comments on commit b42f446

Please sign in to comment.