Skip to content

Instantly share code, notes, and snippets.

@domhanak
Last active November 11, 2024 10:22
Show Gist options
  • Save domhanak/60d4df3c940f7a36d21f5c5afcf0c392 to your computer and use it in GitHub Desktop.
Save domhanak/60d4df3c940f7a36d21f5c5afcf0c392 to your computer and use it in GitHub Desktop.
MinifiedOutput
components:
schemas:
CloudEvent:
properties:
attributeNames:
items:
type: string
type: array
uniqueItems: true
data:
$ref: '#/components/schemas/CloudEventData'
dataContentType:
type: string
dataSchema:
format: uri
type: string
extensionNames:
items:
type: string
type: array
uniqueItems: true
id:
type: string
source:
format: uri
type: string
specVersion:
$ref: '#/components/schemas/SpecVersion'
subject:
type: string
time:
format: date-time
type: string
type:
type: string
type: object
CloudEventData:
type: object
EntityTag:
properties:
value:
type: string
weak:
type: boolean
type: object
Family:
enum:
- INFORMATIONAL
- SUCCESSFUL
- REDIRECTION
- CLIENT_ERROR
- SERVER_ERROR
- OTHER
type: string
Link:
properties:
params:
additionalProperties:
type: string
type: object
rel:
type: string
rels:
items:
type: string
type: array
title:
type: string
type:
type: string
uri:
format: uri
type: string
uriBuilder:
$ref: '#/components/schemas/UriBuilder'
type: object
Locale:
properties:
country:
type: string
displayCountry:
type: string
displayLanguage:
type: string
displayName:
type: string
displayScript:
type: string
displayVariant:
type: string
extensionKeys:
items:
format: byte
type: string
type: array
uniqueItems: true
iSO3Country:
type: string
iSO3Language:
type: string
language:
type: string
script:
type: string
unicodeLocaleAttributes:
items:
type: string
type: array
uniqueItems: true
unicodeLocaleKeys:
items:
type: string
type: array
uniqueItems: true
variant:
type: string
type: object
MediaType:
properties:
parameters:
additionalProperties:
type: string
type: object
subtype:
type: string
type:
type: string
wildcardSubtype:
type: boolean
wildcardType:
type: boolean
type: object
MultivaluedMapStringObject:
additionalProperties:
items:
type: object
type: array
type: object
MultivaluedMapStringString:
additionalProperties:
items:
type: string
type: array
type: object
NewCookie:
properties:
comment:
type: string
domain:
type: string
expiry:
format: date
type: string
httpOnly:
type: boolean
maxAge:
format: int32
type: integer
name:
type: string
path:
type: string
secure:
type: boolean
value:
type: string
version:
format: int32
type: integer
type: object
Response:
properties:
allowedMethods:
items:
type: string
type: array
uniqueItems: true
cookies:
additionalProperties:
$ref: '#/components/schemas/NewCookie'
type: object
date:
format: date
type: string
entity:
type: object
entityTag:
$ref: '#/components/schemas/EntityTag'
headers:
$ref: '#/components/schemas/MultivaluedMapStringObject'
language:
$ref: '#/components/schemas/Locale'
lastModified:
format: date
type: string
length:
format: int32
type: integer
links:
items:
$ref: '#/components/schemas/Link'
type: array
uniqueItems: true
location:
format: uri
type: string
mediaType:
$ref: '#/components/schemas/MediaType'
metadata:
$ref: '#/components/schemas/MultivaluedMapStringObject'
status:
format: int32
type: integer
statusInfo:
$ref: '#/components/schemas/StatusType'
stringHeaders:
$ref: '#/components/schemas/MultivaluedMapStringString'
type: object
SpecVersion:
enum:
- V03
- V1
type: string
StatusType:
properties:
family:
$ref: '#/components/schemas/Family'
reasonPhrase:
type: string
statusCode:
format: int32
type: integer
type: object
Type:
properties:
tags:
items:
type: string
type: array
uniqueItems: true
type: object
UriBuilder:
type: object
info:
title: greeting-flow API
version: "1.0"
openapi: 3.0.0
paths:
/hello:
get:
operationId: hello
responses:
"200":
content:
text/plain:
schema:
type: string
description: OK
tags:
- Reactive Greeting Resource
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment