Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct {
// ID is server-assigned.
//
// read only: true
ID int64 `json:"id"`
// Name is client-supplied.
Name string `json:"name"`
// Created is server-assigned.
//
// read only: true
Created string `json:"created"`
}
User has server-assigned fields that the reporter wanted to hide from create requests (go-swagger#1992). The OAS2 idiom is `readOnly: true` — codescan emits one schema per type, so per-operation field hiding is out of scope, but readOnly marks the server-owned fields.
swagger:model
Click to show internal directories.
Click to hide internal directories.