o.serverless-workflow-service-calls-quarkus.1.7.0.Final.source-code.restcountries.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serverless-workflow-service-calls-quarkus
Show all versions of serverless-workflow-service-calls-quarkus
Kogito Serverless Workflow Example - Quarkus
The newest version!
{
"openapi" : "3.0.1",
"info" : {
"title" : "REST Countries",
"description" : "REST Countries",
"termsOfService" : "https://restcountries.eu/",
"license" : {
"name" : "Mozilla Public License MPL 2.0",
"url" : "https://www.mozilla.org/en-US/MPL/2.0/"
},
"version" : "2.0.5"
},
"servers" : [ {
"url" : "https://restcountries.eu/rest/"
} ],
"paths" : {
"/v1" : {
"get" : {
"operationId" : "getCountries",
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
},
"post" : {
"operationId" : "doPOST",
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v1/all" : {
"get" : {
"operationId" : "getAllCountries",
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v1/alpha/{alphacode}" : {
"get" : {
"operationId" : "getByAlpha",
"parameters" : [ {
"name" : "alphacode",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v1/alpha" : {
"get" : {
"operationId" : "getByAlphaList",
"parameters" : [ {
"name" : "codes",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v1/callingcode/{callingcode}" : {
"get" : {
"operationId" : "getByCallingCode",
"parameters" : [ {
"name" : "callingcode",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v1/capital/{capital}" : {
"get" : {
"operationId" : "getByCapital",
"parameters" : [ {
"name" : "capital",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v1/currency/{currency}" : {
"get" : {
"operationId" : "getByCurrency",
"parameters" : [ {
"name" : "currency",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v1/lang/{lang}" : {
"get" : {
"operationId" : "getByLanguage",
"parameters" : [ {
"name" : "lang",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v1/name/{name}" : {
"get" : {
"operationId" : "getByName",
"parameters" : [ {
"name" : "name",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
}, {
"name" : "fullText",
"in" : "query",
"schema" : {
"type" : "boolean"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v1/region/{region}" : {
"get" : {
"operationId" : "getByRegion",
"parameters" : [ {
"name" : "region",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v1/subregion/{subregion}" : {
"get" : {
"operationId" : "getBySubregion",
"parameters" : [ {
"name" : "subregion",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v2" : {
"get" : {
"operationId" : "getCountries_1",
"parameters" : [ {
"name" : "fields",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
},
"post" : {
"operationId" : "doPOST_1",
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v2/all" : {
"get" : {
"operationId" : "getAllCountries_1",
"parameters" : [ {
"name" : "fields",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v2/alpha/{alphacode}" : {
"get" : {
"operationId" : "getByAlpha_1",
"parameters" : [ {
"name" : "alphacode",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
}, {
"name" : "fields",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v2/alpha" : {
"get" : {
"operationId" : "getByAlphaList_1",
"parameters" : [ {
"name" : "codes",
"in" : "query",
"schema" : {
"type" : "string"
}
}, {
"name" : "fields",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v2/callingcode/{callingcode}" : {
"get" : {
"operationId" : "getByCallingCode_1",
"parameters" : [ {
"name" : "callingcode",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
}, {
"name" : "fields",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v2/capital/{capital}" : {
"get" : {
"operationId" : "getByCapital_1",
"parameters" : [ {
"name" : "capital",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
}, {
"name" : "fields",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v2/currency/{currency}" : {
"get" : {
"operationId" : "getByCurrency_1",
"parameters" : [ {
"name" : "currency",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
}, {
"name" : "fields",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v2/demonym/{demonym}" : {
"get" : {
"operationId" : "getByDemonym",
"parameters" : [ {
"name" : "demonym",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
}, {
"name" : "fields",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v2/lang/{lang}" : {
"get" : {
"operationId" : "getByLanguage_1",
"parameters" : [ {
"name" : "lang",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
}, {
"name" : "fields",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v2/name/{name}" : {
"get" : {
"operationId" : "getByName_1",
"parameters" : [ {
"name" : "name",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
}, {
"name" : "fullText",
"in" : "query",
"schema" : {
"type" : "boolean"
}
}, {
"name" : "fields",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v2/region/{region}" : {
"get" : {
"operationId" : "getByRegion_1",
"parameters" : [ {
"name" : "region",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
}, {
"name" : "fields",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v2/regionalbloc/{regionalbloc}" : {
"get" : {
"operationId" : "getByRegionalBloc",
"parameters" : [ {
"name" : "regionalbloc",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
}, {
"name" : "fields",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/v2/subregion/{subregion}" : {
"get" : {
"operationId" : "getBySubRegion",
"parameters" : [ {
"name" : "subregion",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
}, {
"name" : "fields",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
},
"/contribute" : {
"post" : {
"operationId" : "contribute",
"requestBody" : {
"content" : {
"application/json;charset=utf-8" : {
"schema" : {
"$ref" : "#/components/schemas/Contribution"
}
}
}
},
"responses" : {
"default" : {
"description" : "default response",
"content" : {
"*/*" : {
"schema" : {
"type" : "object"
}
}
}
}
}
}
}
},
"components" : {
"schemas" : {
"Contribution" : {
"type" : "object",
"properties" : {
"amount" : {
"type" : "integer",
"format" : "int32"
},
"token" : {
"type" : "string"
}
}
}
}
}
}