model

package
v0.0.0-...-cae1622 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	// the id of the task
	// required: true
	// min: 0
	ID int `json:"id"`

	// Where the task fits in the list
	// required: true
	// min: 0
	Priority int `json:"priority"`

	// The task name or description
	// required: true
	Title string `json:"title"`

	// Is the task finished
	Complete bool `json:"complete"`
}

A task swagger:model

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL