File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -393,7 +393,10 @@ const docTemplate = `{
393393 "200": {
394394 "description": "OK",
395395 "schema": {
396- "$ref": "#/definitions/github_com_DIMO-Network_device-definitions-api_internal_core_queries.GetVINProfileResponse"
396+ "type": "object",
397+ "additionalProperties": {
398+ "type": "string"
399+ }
397400 }
398401 },
399402 "400": {
@@ -612,26 +615,6 @@ const docTemplate = `{
612615 }
613616 }
614617 },
615- "github_com_DIMO-Network_device-definitions-api_internal_core_queries.GetVINProfileResponse": {
616- "type": "object",
617- "properties": {
618- "powertrainType": {
619- "type": "string"
620- },
621- "profileRaw": {
622- "type": "array",
623- "items": {
624- "type": "integer"
625- }
626- },
627- "vendor": {
628- "type": "string"
629- },
630- "vin": {
631- "type": "string"
632- }
633- }
634- },
635618 "internal_api_handlers.DecodeVINRequest": {
636619 "type": "object",
637620 "properties": {
Original file line number Diff line number Diff line change 384384 "200" : {
385385 "description" : " OK" ,
386386 "schema" : {
387- "$ref" : " #/definitions/github_com_DIMO-Network_device-definitions-api_internal_core_queries.GetVINProfileResponse"
387+ "type" : " object" ,
388+ "additionalProperties" : {
389+ "type" : " string"
390+ }
388391 }
389392 },
390393 "400" : {
603606 }
604607 }
605608 },
606- "github_com_DIMO-Network_device-definitions-api_internal_core_queries.GetVINProfileResponse" : {
607- "type" : " object" ,
608- "properties" : {
609- "powertrainType" : {
610- "type" : " string"
611- },
612- "profileRaw" : {
613- "type" : " array" ,
614- "items" : {
615- "type" : " integer"
616- }
617- },
618- "vendor" : {
619- "type" : " string"
620- },
621- "vin" : {
622- "type" : " string"
623- }
624- }
625- },
626609 "internal_api_handlers.DecodeVINRequest" : {
627610 "type" : " object" ,
628611 "properties" : {
Original file line number Diff line number Diff line change @@ -131,19 +131,6 @@ definitions:
131131 year :
132132 type : integer
133133 type : object
134- github_com_DIMO-Network_device-definitions-api_internal_core_queries.GetVINProfileResponse :
135- properties :
136- powertrainType :
137- type : string
138- profileRaw :
139- items :
140- type : integer
141- type : array
142- vendor :
143- type : string
144- vin :
145- type : string
146- type : object
147134 internal_api_handlers.DecodeVINRequest :
148135 properties :
149136 countryCode :
@@ -417,7 +404,9 @@ paths:
417404 " 200 " :
418405 description : OK
419406 schema :
420- $ref : ' #/definitions/github_com_DIMO-Network_device-definitions-api_internal_core_queries.GetVINProfileResponse'
407+ additionalProperties :
408+ type : string
409+ type : object
421410 " 400 " :
422411 description : Bad Request
423412 " 404 " :
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ func GetDeviceDefinitionByID(m mediator.Mediator) fiber.Handler {
103103// @Tags device-definitions
104104// @Param vin path string true "17 character usa based VIN eg. WBA12345678901234"
105105// @Produce json
106- // @Success 200 {object} queries.GetVINProfileResponse
106+ // @Success 200 {object} map[]string{}
107107// @Failure 404
108108// @Failure 400
109109// @Failure 500
You can’t perform that action at this time.
0 commit comments