/** * Copyright (c) 2020-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ export declare const BLANK_SERVICE_STORE_SNIPPET = "ServiceStore ${1:model::NewServiceStore}\n{\n ${2:// service store content}\n}"; export declare const SERVICE_STORE_WITH_SERVICE = "ServiceStore ${1:model::NewServiceStore}\n(\n Service ${2:someService}\n (\n path : '${3:/someService}';\n method : ${4:GET};\n // example parameters\n // parameters :\n // (\n // serializationFormat : String(location = query)\n // );\n response : [${5:model::someClass <- model::someBinding}];\n security : [];\n )\n)"; export declare const SERVICE_STORE_WITH_SERVICE_GROUP = "ServiceStore ${1:model::NewServiceStore}\n(\n ServiceGroup ${2:TestServiceGroup}\n (\n path : ${3:'/testServices';}\n Service ${4:SomeService}\n (\n path : '${5:/someService}';\n method : ${GET;}\n response : ${model::someClass <- model::someBinding;}\n security : [];\n )\n )\n)"; export declare const SERVICE_STORE_WITH_DESCRIPTION = "ServiceStore ${1:model::NewServiceStore}\n(\n description: '${2:some description}';\n Service ${3:someService}\n (\n path : '${4:/someService}';\n method : ${5:GET};\n // example parameters\n response : [${6:model::someClass <- model::someBinding}];\n security : [];\n )\n)"; export declare const SERVICE_STORE_CONNECTION_SNIPPET = "ServiceStoreConnection ${1:model::NewServiceStoreConnection}\n(\n store: ${2:model::SomeStore};\n baseUrl: ${3:'http://localhost:9090/somePath'};\n)"; export declare const SERVICE_STORE_EMBEDDED_DATA = "ServiceStore\n#{\n [\n {\n request:\n {\n method: ${2|POST,GET|};\n url: '${3:/someUrlPattern}';\n headerParameters:\n {\n id:\n EqualTo\n #{\n expected: 'someValue';\n }#\n };\n queryParameters:\n {\n id:\n EqualTo\n #{\n expected: 'someValue';\n }#\n };\n bodyPatterns:\n [\n EqualToJson\n #{\n expected: '{\\\"id\\\": \\\"someValue\\\"}';\n }#\n ];\n };\n response:\n {\n body:\n ExternalFormat\n #{\n contentType: '${4:application/json}';\n data: '${5:someData}';\n }#;\n };\n }\n ]\n}#"; //# sourceMappingURL=STO_ServiceStore_CodeSnippets.d.ts.map