Module: Types

Defined in:
lib/schemas.rb

Constant Summary collapse

Integer =
Strict::Integer
Nil =
Strict::Nil
Bool =
Strict::Bool
Hash =
Strict::Hash
String =
Strict::String
Double =
Strict::Float | Strict::Integer
DeleteMocksMockIDServerResponsesServerResponseIDResponseLanguage =
Strict::String.enum("html", "json", "javascript", "text", "xml")
Schema =
Strict::String.enum("https://schema.getpostman.com/json/collection/v2.1.0/collection.json")
Action =
Strict::String.enum("create", "update")
Model =
Strict::String.enum("api-version", "collection")
GetApisAPIIDTasksTaskIDResponseStatus =
Strict::String.enum("completed", "failed", "pending")
DatumResourceType =
Strict::String.enum("api", "collection", "environment", "example", "folder", "globals", "request")
ResolutionEnum =
Strict::String.enum("ACCEPTED_RISK", "ACTIVE", "FALSE_POSITIVE", "REVOKED")
Type1 =
Strict::String.enum("any", "default", "secret")
GetMocksResponseMocksItemConfigDelayType =
Strict::String.enum("fixed")
Preset =
Strict::String.enum("1", "2")
EntityTypeEnum =
Strict::String.enum("api", "collection", "workspace")
Status1 =
Strict::String.enum("denied", "pending")
DatumType =
Strict::String.enum("DEFAULT", "TEAM_REGEX")
VisibilityEnum =
Strict::String.enum("partner", "personal", "private", "public", "team")
GlobalVariableType =
Strict::String.enum("default", "secret")
Op1 =
Strict::String.enum("add", "remove", "replace")
Op2 =
Strict::String.enum("replace")
PostApisAPIIDSchemasBodyType =
Strict::String.enum("asyncapi:2", "graphql", "openapi:1", "openapi:2", "openapi:3", "openapi:3_1", "proto:2", "proto:3", "raml:0_8", "raml:1", "wsdl:1", "wsdl:2")
Strategy =
Strict::String.enum("deleteSource", "updateSourceWithDestination")
Resolution =
Strict::String.enum("ACCEPTED_RISK", "FALSE_POSITIVE", "REVOKED")
WorkspaceVisibility =
Strict::String.enum("personal", "private", "public", "team")
MetaResourceType =
Strict::String.enum("User")
SchemaLanguage =
Strict::String.enum("json", "yaml")
Type2 =
Strict::String.enum("openapi2", "openapi3")
MethodEnum =
Strict::String.enum("COPY", "DELETE", "GET", "HEAD", "LINK", "LOCK", "OPTIONS", "PATCH", "POST", "PROPFIND", "PURGE", "PUT", "UNLINK", "UNLOCK", "VIEW")
PutNetworkPrivateNetworkEntityRequestRequestIDBodyStatus =
Strict::String.enum("approved", "denied")
Name =
Strict::String.enum("invalidParamsError", "requestAlreadyResponded", "requestEntityAlreadyPublished", "RequestNotFound")
ImportExportFileType =
Strict::String.enum("file")
JSONSchemaType =
Strict::String.enum("json")