| 1 |
// Copyright 2023 Princess B33f Heavy Industries / Dave Shanley |
| 2 |
// SPDX-License-Identifier: MIT |
| 3 |
|
| 4 |
package helpers |
| 5 |
|
| 6 |
const ( |
| 7 |
ParameterValidation = "parameter" |
| 8 |
ParameterValidationPath = "path" |
| 9 |
ParameterValidationQuery = "query" |
| 10 |
ParameterValidationHeader = "header" |
| 11 |
ParameterValidationCookie = "cookie" |
| 12 |
RequestValidation = "request" |
| 13 |
RequestBodyValidation = "requestBody" |
| 14 |
XmlValidation = "xmlValidation" |
| 15 |
XmlValidationPrefix = "prefix" |
| 16 |
XmlValidationNamespace = "namespace" |
| 17 |
URLEncodedValidation = "urlEncodedValidation" |
| 18 |
InvalidTypeEncoding = "invalidTypeEncoding" |
| 19 |
ReservedValues = "reservedValues" |
| 20 |
Schema = "schema" |
| 21 |
ResponseBodyValidation = "response" |
| 22 |
RequestBodyContentType = "contentType" |
| 23 |
// Deprecated: use ValidationMissingOperation |
| 24 |
RequestMissingOperation = "missingOperation" |
| 25 |
PathValidation = "path" |
| 26 |
ValidationMissing = "missing" |
| 27 |
ValidationMissingOperation = "missingOperation" |
| 28 |
ResponseBodyResponseCode = "statusCode" |
| 29 |
SecurityValidation = "security" |
| 30 |
DocumentValidation = "document" |
| 31 |
SpaceDelimited = "spaceDelimited" |
| 32 |
PipeDelimited = "pipeDelimited" |
| 33 |
DefaultDelimited = "default" |
| 34 |
MatrixStyle = "matrix" |
| 35 |
LabelStyle = "label" |
| 36 |
Pipe = "|" |
| 37 |
Comma = "," |
| 38 |
Space = " " |
| 39 |
SemiColon = ";" |
| 40 |
Asterisk = "*" |
| 41 |
Period = "." |
| 42 |
Equals = "=" |
| 43 |
Integer = "integer" |
| 44 |
Number = "number" |
| 45 |
Slash = "/" |
| 46 |
Object = "object" |
| 47 |
String = "string" |
| 48 |
Array = "array" |
| 49 |
Boolean = "boolean" |
| 50 |
DeepObject = "deepObject" |
| 51 |
Header = "header" |
| 52 |
Cookie = "cookie" |
| 53 |
Path = "path" |
| 54 |
Form = "form" |
| 55 |
Query = "query" |
| 56 |
JSONContentType = "application/json" |
| 57 |
URLEncodedContentType = "application/x-www-form-urlencoded" |
| 58 |
JSONType = "json" |
| 59 |
ContentTypeHeader = "Content-Type" |
| 60 |
AuthorizationHeader = "Authorization" |
| 61 |
Charset = "charset" |
| 62 |
Boundary = "boundary" |
| 63 |
Preferred = "preferred" |
| 64 |
FailSegment = "**&&FAIL&&**" |
| 65 |
) |