Skip to content

Support struct comments from schema description #10

@Antonboom

Description

@Antonboom

Example:

components:
  schemas:
  Transaction:
      type: object
      properties:
        id:
          type: string
          description: uuid usually
        datetime:
          type: string
          description: datetime in format ISO8601
type Transaction struct {
        // ID is uuid usually
	ID string `json:"id"`

        // Datetime is datetime in format ISO8601
 	Datetime `json:"id"`
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions