initial commit
This commit is contained in:
commit
88c14b627e
224 files changed
+17204
No files matched your search
Vendored
+47
@@ -0,0 +1,47 @@
|
||||
openapi: 3.2.0
|
||||
info:
|
||||
title: OpenAPI 3.2 compatibility fixture
|
||||
version: 0.1.0
|
||||
servers:
|
||||
- url: /
|
||||
paths:
|
||||
/probe:
|
||||
get:
|
||||
operationId: GetProbe
|
||||
summary: Exercise OpenAPI 3.2 routing and input validation.
|
||||
security: []
|
||||
parameters:
|
||||
- name: state
|
||||
in: query
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
enum:
|
||||
- allowed
|
||||
responses:
|
||||
"200":
|
||||
description: The nullable value is generated with its validation type.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/NullablePayload"
|
||||
additionalOperations:
|
||||
PURGE:
|
||||
operationId: PurgeProbe
|
||||
summary: Exercise the OpenAPI 3.2 additionalOperations field.
|
||||
security: []
|
||||
responses:
|
||||
"204":
|
||||
description: The compatibility fixture operation completed.
|
||||
components:
|
||||
schemas:
|
||||
NullablePayload:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
- value
|
||||
properties:
|
||||
value:
|
||||
type:
|
||||
- string
|
||||
- "null"
|
||||
Reference in new issue
Block a user