bug1992

package
v0.36.3 Latest Latest
Warning

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

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

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

Jump to

Keyboard shortcuts

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