Files
protobuf/gen/openapiv2/shop/v1/shop.swagger.json
2022-05-31 09:30:19 +02:00

95 lines
1.9 KiB
JSON

{
"swagger": "2.0",
"info": {
"title": "shop/v1/shop.proto",
"version": "version not set"
},
"tags": [
{
"name": "ShopService"
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {},
"definitions": {
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
},
"rpcStatus": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/protobufAny"
}
}
}
},
"v1Shop": {
"type": "object",
"properties": {
"shopId": {
"type": "string"
},
"shopName": {
"type": "string"
},
"shopType": {
"$ref": "#/definitions/v1ShopType"
},
"shopUrlWww": {
"type": "string"
},
"shopUrlLogo": {
"type": "string"
},
"shopUrlApi": {
"type": "string"
},
"shopCurrency": {
"type": "string"
},
"shopPrefixOrder": {
"type": "string"
},
"shopPrefixInvoice": {
"type": "string"
},
"shopPrefixOffer": {
"type": "string"
}
},
"description": "Order represents a monetary order."
},
"v1ShopType": {
"type": "string",
"enum": [
"SHOP_TYPE_UNSPECIFIED",
"SHOP_TYPE_DIGITAL",
"SHOP_TYPE_RETAIL"
],
"default": "SHOP_TYPE_UNSPECIFIED",
"description": "PaymentProvider represents the supported set\nof payment providers."
}
}
}