ghosts-network / gateway

RESTful public API for GhostNetwork education project
1 stars 5 forks source link

Change X-HasMore header type #24

Closed volodymyr-borodin closed 3 years ago

volodymyr-borodin commented 3 years ago

Describe the bug Wrong type of X-HasMore in swagger.json

To Reproduce Steps to reproduce the behavior:

  1. Open https://api.gn.boberneprotiv.com/swagger/v1/swagger.json
  2. Find definition for X-HasMore header in any request
  3. X-HasMore.schema.type is "String"

Expected behavior X-HasMore.schema.type is "String" should be "boolean"

prktkn commented 3 years ago

Hello! Should the header type be capitalized or should it be in lowercase?

volodymyr-borodin commented 3 years ago

Hi! By default Swashbuckle writes type of field in lower case, so we also should use lower case