Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "swagger" : "2.0",
- "info" : {
- "version" : "1.0",
- "title" : "1.0",
- "description" : "External interface API.",
- "termsOfService" : "",
- "contact" : {
- "name" : "",
- "email" : ""
- }
- },
- "basePath" : "/",
- "paths" : {
- "/api/v1/entityB/{id}" : {
- "get" : {
- "tags" : ["entityB"],
- "summary" : "Gets an entityB.",
- "operationId" : "ApiV1entityBByidGet",
- "consumes" : [],
- "produces" : ["text/plain", "application/json", "text/json"],
- "parameters" : [{
- "name" : "id",
- "in" : "path",
- "required" : true,
- "type" : "number",
- "format" : "double"
- }, {
- "name" : "argF",
- "in" : "query",
- "required" : false,
- "type" : "string"
- }
- ],
- "responses" : {
- "200" : {
- "description" : "The operation was successful",
- "schema" : {
- "$ref" : "#/definitions/GetentityBResponse"
- }
- }
- }
- }
- },
- "/api/v1/entityB" : {
- "post" : {
- "tags" : ["entityB"],
- "summary" : "Creates a new entityB.",
- "operationId" : "ApiV1entityBPost",
- "consumes" : ["application/json", "text/json", "application/json-patch+json"],
- "produces" : ["text/plain", "application/json", "text/json"],
- "parameters" : [{
- "name" : "request",
- "in" : "body",
- "required" : false,
- "schema" : {
- "$ref" : "#/definitions/BRequest"
- }
- }
- ],
- "responses" : {
- "200" : {
- "description" : "The operation was successful",
- "schema" : {
- "$ref" : "#/definitions/BResponse"
- }
- }
- }
- },
- "delete" : {
- "tags" : ["entityB"],
- "summary" : "Deletes an entityB.",
- "operationId" : "ApiV1entityBDelete",
- "consumes" : ["application/json", "text/json", "application/json-patch+json"],
- "produces" : [],
- "parameters" : [{
- "name" : "request",
- "in" : "body",
- "required" : false,
- "schema" : {
- "$ref" : "#/definitions/CRequest"
- }
- }
- ],
- "responses" : {
- "200" : {
- "description" : "The operation was successful"
- }
- }
- }
- },
- "/api/v1/entityA/office/{id}/{argE}/{argA}/{argB}/{dupEnum}/{argC}/{argD}" : {
- "get" : {
- "tags" : ["entityA"],
- "summary" : "Get entityA for an entity for a given time frame.",
- "operationId" : "XYZ",
- "consumes" : [],
- "produces" : ["text/plain", "application/json", "text/json"],
- "parameters" : [{
- "name" : "id",
- "in" : "path",
- "required" : true,
- "type" : "number",
- "format" : "double"
- }, {
- "name" : "argA",
- "in" : "path",
- "required" : true,
- "type" : "string",
- "format" : "date-time"
- }, {
- "name" : "argB",
- "in" : "path",
- "required" : true,
- "type" : "string",
- "format" : "date-time"
- }, {
- "name" : "dupEnum",
- "in" : "path",
- "required" : true,
- "type" : "string",
- "enum" : ["Chocolate", "Vanilla", "Mystery", "Mint", "RockyRoad", "CookiesNCream", "Neopolitan", "Bubblegum", "Coconut", "Strawberry", "Random"]
- }, {
- "name" : "argC",
- "in" : "path",
- "required" : true,
- "type" : "string",
- "enum" : ["Sprite"]
- }, {
- "name" : "argD",
- "in" : "path",
- "required" : true,
- "type" : "string",
- "enum" : ["Typical", "Coconut30", "Coconut45", "Coconut60"]
- }, {
- "name" : "argE",
- "in" : "path",
- "required" : true,
- "type" : "string"
- }
- ],
- "responses" : {
- "200" : {
- "description" : "The operation was successful",
- "schema" : {
- "$ref" : "#/definitions/entityAResponse"
- }
- }
- }
- }
- },
- "/api/v1/entityA/appraiser/{id}/{argE}/{argA}/{argB}/{dupEnum}/{argC}/{argD}" : {
- "get" : {
- "tags" : ["entityA"],
- "summary" : "Get entityA for an entity for a given time frame.",
- "operationId" : "XYZ2",
- "consumes" : [],
- "produces" : ["text/plain", "application/json", "text/json"],
- "parameters" : [{
- "name" : "id",
- "in" : "path",
- "required" : true,
- "type" : "number",
- "format" : "double"
- }, {
- "name" : "argE",
- "in" : "path",
- "required" : true,
- "type" : "string"
- }, {
- "name" : "argA",
- "in" : "path",
- "required" : true,
- "type" : "string",
- "format" : "date-time"
- }, {
- "name" : "argB",
- "in" : "path",
- "required" : true,
- "type" : "string",
- "format" : "date-time"
- }, {
- "name" : "dupEnum",
- "in" : "path",
- "required" : true,
- "type" : "string",
- "enum" : ["Chocolate", "Vanilla", "Mystery", "Mint", "RockyRoad", "CookiesNCream", "Neopolitan", "Bubblegum", "Coconut", "Strawberry", "Random"]
- }, {
- "name" : "argC",
- "in" : "path",
- "required" : true,
- "type" : "string",
- "enum" : ["Sprite"]
- }, {
- "name" : "argD",
- "in" : "path",
- "required" : true,
- "type" : "string",
- "enum" : ["Typical", "Coconut30", "Coconut45", "Coconut60"]
- }
- ],
- "responses" : {
- "200" : {
- "description" : "The operation was successful",
- "schema" : {
- "$ref" : "#/definitions/entityAResponse"
- }
- }
- }
- }
- },
- "/api/v1/entityA/entityC/{id}/{argA}/{argB}" : {
- "get" : {
- "tags" : ["entityA"],
- "summary" : "Get entityA for an entity for a given time frame.",
- "operationId" : "ApiV1entityAentityCByIdByStartdateByEnddateGet",
- "consumes" : [],
- "produces" : ["text/plain", "application/json", "text/json"],
- "parameters" : [{
- "name" : "id",
- "in" : "path",
- "required" : true,
- "type" : "number",
- "format" : "double"
- }, {
- "name" : "argA",
- "in" : "path",
- "required" : true,
- "type" : "string",
- "format" : "date-time"
- }, {
- "name" : "argB",
- "in" : "path",
- "required" : true,
- "type" : "string",
- "format" : "date-time"
- }, {
- "name" : "argE",
- "in" : "query",
- "required" : false,
- "type" : "string"
- }, {
- "name" : "dupEnum",
- "in" : "query",
- "required" : false,
- "type" : "string",
- "enum" : ["Chocolate", "Vanilla", "Mystery", "Mint", "RockyRoad", "CookiesNCream", "Neopolitan", "Bubblegum", "Coconut", "Strawberry", "Random"]
- }, {
- "name" : "argD",
- "in" : "query",
- "required" : false,
- "type" : "string",
- "enum" : ["Typical", "Coconut30", "Coconut45", "Coconut60"]
- }
- ],
- "responses" : {
- "200" : {
- "description" : "The operation was successful",
- "schema" : {
- "$ref" : "#/definitions/AResponse"
- }
- }
- }
- }
- }
- },
- "definitions" : {
- "GetentityBResponse" : {
- "type" : "object",
- "properties" : {
- "entityBId" : {
- "format" : "int32",
- "type" : "integer"
- },
- "status" : {
- "type" : "string"
- },
- "argJ" : {
- "format" : "date-time",
- "type" : "string"
- }
- }
- },
- "BRequest" : {
- "type" : "object",
- "properties" : {
- "claim" : {
- "$ref" : "#/definitions/TypeB"
- },
- "entityB" : {
- "$ref" : "#/definitions/entityBInfo"
- },
- "TypeA" : {
- "$ref" : "#/definitions/TypeAInfo"
- },
- "owner" : {
- "$ref" : "#/definitions/TypeC"
- },
- "resourceAddressPreference" : {
- "$ref" : "#/definitions/TypeD"
- },
- "argL" : {
- "type" : "string"
- }
- }
- },
- "TypeB" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "format" : "double",
- "type" : "number"
- },
- "argM" : {
- "format" : "double",
- "type" : "number"
- },
- "argN" : {
- "type" : "string"
- },
- "argO" : {
- "format" : "date-time",
- "type" : "string"
- },
- "argP" : {
- "format" : "int32",
- "type" : "integer"
- },
- "argR" : {
- "format" : "int32",
- "type" : "integer"
- },
- "dupEnum" : {
- "enum" : ["Chocolate", "Vanilla", "Mystery", "Mint", "RockyRoad", "CookiesNCream", "Neopolitan", "Bubblegum", "Coconut", "Strawberry", "Random"],
- "type" : "string"
- },
- "argS" : {
- "type" : "string"
- },
- "argT" : {
- "type" : "boolean"
- }
- }
- },
- "entityBInfo" : {
- "type" : "object",
- "properties" : {
- "arg1" : {
- "format" : "int32",
- "type" : "integer"
- },
- "arg2" : {
- "format" : "date-time",
- "type" : "string"
- },
- "arg3" : {
- "type" : "string"
- },
- "entityBDate" : {
- "format" : "date-time",
- "type" : "string"
- },
- "arg4" : {
- "format" : "date-time",
- "type" : "string"
- },
- "argJ" : {
- "format" : "date-time",
- "type" : "string"
- },
- "entityBWindowType" : {
- "enum" : ["Apple", "Banana", "Cherry"],
- "type" : "string"
- },
- "arg5" : {
- "format" : "double",
- "type" : "number"
- },
- "arg6" : {
- "type" : "boolean"
- },
- "arg7" : {
- "enum" : ["ClaimsManager"],
- "type" : "string"
- },
- "arg8" : {
- "type" : "string"
- },
- "arg9" : {
- "type" : "string"
- }
- }
- },
- "TypeAInfo" : {
- "type" : "object",
- "properties" : {
- "arg31" : {
- "type" : "string"
- },
- "TypeADescription" : {
- "type" : "string"
- },
- "TypeALocationDescription" : {
- "type" : "string"
- },
- "TypeALocationAddressLine1" : {
- "type" : "string"
- },
- "TypeALocationCity" : {
- "type" : "string"
- },
- "state" : {
- "type" : "string"
- },
- "postalCode" : {
- "type" : "string"
- },
- "longitude" : {
- "type" : "string"
- },
- "TypeALocationLatitude" : {
- "type" : "string"
- }
- }
- },
- "TypeC" : {
- "type" : "object",
- "properties" : {
- "lastName" : {
- "type" : "string"
- },
- "firstName" : {
- "type" : "string"
- },
- "phone" : {
- "type" : "string"
- },
- "email" : {
- "type" : "string"
- }
- }
- },
- "TypeD" : {
- "type" : "object",
- "properties" : {
- "required" : {
- "type" : "array",
- "items" : {
- "format" : "int64",
- "type" : "integer"
- }
- },
- "preferred" : {
- "type" : "array",
- "items" : {
- "format" : "int64",
- "type" : "integer"
- }
- },
- "blacklisted" : {
- "type" : "array",
- "items" : {
- "format" : "int64",
- "type" : "integer"
- }
- }
- }
- },
- "BResponse" : {
- "type" : "object",
- "properties" : {
- "entityBId" : {
- "format" : "int32",
- "type" : "integer"
- },
- "arg1" : {
- "format" : "int32",
- "type" : "integer"
- }
- }
- },
- "CRequest" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "format" : "double",
- "type" : "number"
- },
- "entityBtatus" : {
- "$ref" : "#/definitions/entityBtatus"
- },
- "argL" : {
- "type" : "string"
- }
- }
- },
- "entityBtatus" : {
- "type" : "object",
- "properties" : {
- "entityBId" : {
- "format" : "int32",
- "type" : "integer"
- },
- "status" : {
- "type" : "string"
- },
- "argJ" : {
- "format" : "date-time",
- "type" : "string"
- }
- }
- },
- "entityAResponse" : {
- "type" : "object",
- "properties" : {
- "activityarg1" : {
- "format" : "int32",
- "type" : "integer"
- },
- "entityA" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/entityA"
- }
- }
- }
- },
- "entityA" : {
- "type" : "object",
- "properties" : {
- "date" : {
- "format" : "date-time",
- "type" : "string"
- },
- "arg21" : {
- "type" : "string"
- },
- "arg22" : {
- "type" : "string"
- },
- "arg23" : {
- "format" : "int32",
- "type" : "integer"
- },
- "arg24" : {
- "format" : "int32",
- "type" : "integer"
- }
- }
- },
- "AResponse" : {
- "type" : "object",
- "properties" : {
- "arg11" : {
- "type" : "string"
- },
- "arg12" : {
- "type" : "string"
- },
- "date" : {
- "format" : "date-time",
- "type" : "string"
- },
- "arg13" : {
- "type" : "string"
- }
- }
- }
- },
- "securityDefinitions" : {}
- }
Add Comment
Please, Sign In to add comment