bug334

package
v0.36.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUsers

func GetUsers()

GetUsers mirrors the reporter's layout: the swagger:route annotation lives INSIDE the function body rather than in the function's doc comment.

Types

type User

type User struct {
	// required: true
	// minimum: 1
	ID int64 `json:"id"`

	// required: true
	// min length: 3
	Firstname string `json:"firstname"`
}

swagger:model User represents the user for this application

A user is the security principal for this application.

type UsersResponse

type UsersResponse struct {
	// in: body
	Body []User
}

UsersResponse is the list response.

swagger:response usersResponse

Jump to

Keyboard shortcuts

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