fsbahman / apidoc-swagger

apidoc and swagger are two nice projects which are focusing on documentation of APIs. This project is a middle tier which tries to bring them together in a sense that it uses apidoc to convert inline documentation to json schema and later convert it to swagger json schmea.
Other
252 stars 131 forks source link

correct data types #23

Open gaboesquivel opened 8 years ago

gaboesquivel commented 8 years ago

Hi @fsbahman, thanks so much for this module. It just saved a lot time.

I had manually correct some data types, tho https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#dataTypeFormat

Eg. apidoc-swagger output

prop:
  type: float
prop2:
  type: bigint
prop3:
  type: date

valid OpenAPI data type and format

prop:
  type: number
  format: float
prop2:
  type: integer
  format: int64
prop3:
  type: string
  format: date

It would be great to fix this. If I manage to have some time to work on this I'll make a PR. Opening the issue for now.

RajithaKumara commented 4 years ago

Hi @fsbahman What is the current status of this issue?