github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/106/swagger.json (about) 1 { 2 "basePath": "/RestAPI", 3 "definitions": { 4 "SubscriptionCharge": { 5 "description": "Represents a monetary amount — or quantity consumed — attributed to some invoice or subscription.", 6 "properties": { 7 "created": { 8 "description": "{ \"description\" : \"The UTC DateTime when the object was created.\", \"verbs\":[] }", 9 "format": "date-time", 10 "type": "string" 11 } 12 }, 13 "required": [ 14 "chargeType", 15 "invoicingType", 16 "remainingCreditBehaviour", 17 "state", 18 "type", 19 "versionNumber" 20 ], 21 "type": "object", 22 "xml": { 23 "name": "subscriptionCharge" 24 } 25 } 26 }, 27 "host": "localhost:8089", 28 "info": { 29 "title": "BillForward REST API", 30 "version": "1.0.0" 31 }, 32 "paths": { 33 "/account/{account-ID}": { 34 "get": { 35 "consumes": [ 36 "text/plain" 37 ], 38 "description": "{\"nickname\":\"Retrieve by account\",\"response\":\"getChargeByAccount.html\"}", 39 "operationId": "getByAccountID", 40 "parameters": [ 41 { 42 "collectionFormat": "multi", 43 "description": "A list of organization-IDs used to restrict the scope of API calls.", 44 "in": "query", 45 "items": { 46 "type": "string" 47 }, 48 "name": "organizations", 49 "required": false, 50 "type": "array" 51 } 52 ], 53 "produces": [ 54 "application/json" 55 ], 56 "responses": { 57 "200": { 58 "description": "successful operation", 59 "schema": { 60 "$ref": "#/definitions/SubscriptionCharge" 61 } 62 } 63 }, 64 "summary": "Retrieves a collection of charges, specified by the account-ID parameter. By default 10 values are returned. Records are returned in natural order.", 65 "tags": [ 66 "charges" 67 ] 68 } 69 } 70 }, 71 "schemes": [ 72 "http" 73 ], 74 "swagger": "2.0", 75 "tags": [] 76 }