Last active
July 24, 2023 19:41
-
-
Save commonism/7adcb666278f4070b8f7aabd456faa43 to your computer and use it in GitHub Desktop.
OpenAPI3.1 - type list null
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.1.0 | |
info: | |
title: '' | |
version: 0.0.0 | |
servers: | |
- url: http://127.0.0.1/api | |
security: | |
- {} | |
paths: | |
/{path}: | |
parameters: | |
- $ref: "#/components/parameters/path" | |
- $ref: '#/components/parameters/cookie' | |
post: | |
operationId: post | |
requestBody: | |
description: "!" | |
required: true | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/Any' | |
responses: | |
'200': | |
description: "!" | |
content: | |
application/json: | |
schema: | |
$ref: "#/components/schemas/Any" | |
callbacks: | |
onData: | |
'{$request.query.callbackUrl}/data': | |
post: | |
requestBody: | |
description: "!" | |
content: | |
application/json: | |
schema: | |
$ref: "#/components/schemas/Any" | |
responses: | |
'200': | |
description: "!" | |
content: | |
application/json: | |
schema: | |
$ref: "#/components/schemas/Any" | |
get: | |
operationId: get | |
parameters: | |
- $ref: "#/components/parameters/query" | |
- $ref: "#/components/parameters/header" | |
responses: &resp | |
'200': | |
description: "!" | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/Any' | |
headers: | |
head: | |
$ref: "#/components/headers/header" | |
components: | |
schemas: | |
Any: | |
type: [integer, string, object, array, boolean, "null"] | |
items: | |
$ref: "#/components/schemas/Any" | |
properties: | |
next: | |
$ref: "#/components/schemas/Any" | |
headers: | |
header: | |
schema: | |
$ref: "#/components/schemas/Any" | |
style: simple | |
explode: false | |
parameters: | |
query: | |
in: query | |
name: query | |
style: deepObject | |
explode: true | |
required: true | |
schema: | |
$ref: "#/components/schemas/Any" | |
path: | |
in: path | |
name: path | |
required: true | |
schema: | |
type: [string, "null"] | |
header: | |
in: header | |
name: header | |
required: true | |
schema: | |
type: [string, "null"] | |
cookie: | |
in: cookie | |
name: cookie | |
required: true | |
schema: | |
type: [string, "null"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment