github.com/s7techlab/cckit@v0.10.5/examples/payment/schema/payment.swagger.json (about) 1 { 2 "swagger": "2.0", 3 "info": { 4 "title": "payment/schema/payment.proto", 5 "version": "version not set" 6 }, 7 "consumes": [ 8 "application/json" 9 ], 10 "produces": [ 11 "application/json" 12 ], 13 "paths": {}, 14 "definitions": { 15 "protobufAny": { 16 "type": "object", 17 "properties": { 18 "type_url": { 19 "type": "string" 20 }, 21 "value": { 22 "type": "string", 23 "format": "byte" 24 } 25 } 26 }, 27 "runtimeError": { 28 "type": "object", 29 "properties": { 30 "error": { 31 "type": "string" 32 }, 33 "code": { 34 "type": "integer", 35 "format": "int32" 36 }, 37 "message": { 38 "type": "string" 39 }, 40 "details": { 41 "type": "array", 42 "items": { 43 "$ref": "#/definitions/protobufAny" 44 } 45 } 46 } 47 } 48 } 49 }