alexjomin / openapi-parser

Simple and still naive openapi documentation generator from comments of your Go code.
18 stars 8 forks source link

Handle more types #7

Open denouche opened 6 years ago

denouche commented 6 years ago

For example the uint32 type give:

components:
  schemas:
    Address:
      type: object
      properties:
        exp:
          $ref: '#/components/schemas/uint32'