@autorest/codemodel
Version:
AutoRest code model library
190 lines (188 loc) • 3 kB
YAML
$schema: http://json-schema.org/draft-07/schema#
definitions:
HttpMethod:
type: string
description: standard HTTP protocol methods
enum:
- get
- put
- post
- delete
- options
- head
- patch
- trace
ImplementationLocation:
type: string
enum:
- Method
- Client
- Context
KnownMediaType:
type: string
enum:
- json
- xml
- form
- binary
- multipart
- text
- unknown
ParameterLocation:
type: string
description: the location that this parameter is placed in the http request
enum:
- query
- header
- cookie
- path
- body
- uri
- virtual
- none
PathEncodingStyle:
type: string
enum:
- label
- matrix
- simple
QueryEncodingStyle:
type: string
enum:
- deepObject
- form
- pipeDelimited
- spaceDelimited
SchemaContext:
type: string
enum:
- input
- output
- exception
SchemaType:
type: string
description: possible schema types that indicate the type of schema.
enum:
- array
- dictionary
- boolean
- integer
- number
- object
- string
- unixtime
- byte-array
- binary
- char
- date
- time
- date-time
- duration
- uuid
- uri
- arm-id
- credential
- odata-query
- any
- any-object
- choice
- sealed-choice
- conditional
- sealed-conditional
- flag
- constant
- or
- xor
- not
- unknown
- group
SecurityType:
type: string
enum:
- apiKey
- http
- oauth2
- openIdConnect
SerializationStyle:
type: string
description: |-
The Serialization Style used for the parameter.
Describes how the parameter value will be serialized depending on the type of the parameter value.
enum:
- matrix
- label
- simple
- form
- spaceDelimited
- pipeDelimited
- deepObject
- json
- xml
- binary
- tabDelimited
StatusCode:
enum:
- 100
- 101
- 102
- 103
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 226
- 300
- 301
- 302
- 303
- 304
- 305
- 306
- 307
- 308
- 400
- 401
- 402
- 403
- 404
- 405
- 406
- 407
- 408
- 409
- 410
- 411
- 412
- 413
- 414
- 415
- 416
- 417
- 418
- 421
- 422
- 423
- 424
- 425
- 426
- 428
- 429
- 431
- 451
- 500
- 501
- 502
- 503
- 504
- 505
- 506
- 507
- 508
- 510
- 511
- default