x
This commit is contained in:
94
gen/openapiv2/shop/v1/shop.swagger.json
Normal file
94
gen/openapiv2/shop/v1/shop.swagger.json
Normal file
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"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."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user