Skip to content

Comments

fix the failure to parse req.swagger.query#379

Open
lanchongyizu wants to merge 1 commit intoRackHD:masterfrom
lanchongyizu:bugfix/swagger-query
Open

fix the failure to parse req.swagger.query#379
lanchongyizu wants to merge 1 commit intoRackHD:masterfrom
lanchongyizu:bugfix/swagger-query

Conversation

@lanchongyizu
Copy link
Member

@lanchongyizu lanchongyizu commented May 14, 2018

The result of req.swagger.params as below is different than the original in https://github.com/RackHD/on-http/blob/master/lib/services/swagger-api-service.js.

  [mac:
   { path: [ 'paths', '/profiles', 'get', 'parameters', '2' ],
     schema:
      { description: 'When macs parameter is not passed, passed with IP adds MAC address to lookup',
        in: 'query',
        name: 'mac',
        required: false,
        type: 'string' },
     originalValue: undefined,
     value: undefined }]

@RackHD/corecommitters @iceiilin @pengz1

@lanchongyizu lanchongyizu force-pushed the bugfix/swagger-query branch from 39712e4 to e6d5932 Compare May 15, 2018 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants