Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 1.04 KB

faq.md

File metadata and controls

21 lines (12 loc) · 1.04 KB

FAQ

Format of byte?

The way to encode/decode byte is base64.

Format of datetime on the wire?

should be an ISO8601 string, according to this issue.

How allowMultiple is handled?

Take type integer as example, you can pass an integer or an array/tuple of integer for this parameter. (a single value is no longer supported)

What do we need to take care of when upgrading from Swagger 1.2 to 2.0?

  • allowMultiple is no longer supported, always passing an array even with a single value.
  • 'different host for different resource' is no longer supported in Swagger 2.0, only one host and one basePath is allowed in one swagger.json.
  • refer to Migration Guide from Swagger team.
  • The name of body parameters is no longer included in requests, refer to this issue for details.