github.com/cbroglie/openapi2proto@v0.0.0-20171004221549-76b8501da882/fixtures/lowercase_def.json (about) 1 { 2 "swagger": "2.0", 3 "info": { 4 "title": "Lowercase API", 5 "description": "Lowercase ref in return", 6 "version": "1.0.0" 7 }, 8 "host": "api.lowercase.com", 9 "schemes": [ 10 "https" 11 ], 12 "basePath": "/v1", 13 "produces": [ 14 "application/json" 15 ], 16 "paths": { 17 "/lowercase/def": { 18 "get": { 19 "summary": "Lowercase Response", 20 "description": "This doesn't use camel-casing.", 21 "parameters": [], 22 "responses": { 23 "200": { 24 "description": "An array of strings", 25 "schema": { 26 "$ref": "#/definitions/item" 27 } 28 } 29 } 30 } 31 } 32 }, 33 "definitions": { 34 "item": { 35 "type": "object" 36 } 37 } 38 }