Documentation ¶
Index ¶
- func AttachTo(item *ogen.Operation)
- func RecurseParam() *ogen.Parameter
- func RemoveEdges(op *ogen.Operation)
- func RemoveFields(props []ogen.Property, fields ...string) []ogen.Property
- type ParentI16Mixin
- type ParentI32Mixin
- type ParentI64Mixin
- type ParentI8Mixin
- type ParentStringMixin
- type ParentU16Mixin
- type ParentU32Mixin
- type ParentU64Mixin
- type ParentU8Mixin
- type ParentUuidMixin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecurseParam ¶ added in v0.0.4
RecurseParam returns the `recurse` parameter.
func RemoveEdges ¶
RemoveEdges removes the `parent` and `children` fields from the OpenAPI schema.
Types ¶
type ParentI16Mixin ¶
ParentI16Mixin is a mixin for int16 primary key.
func (ParentI16Mixin[T]) Edges ¶
func (ParentI16Mixin[T]) Edges() []ent.Edge
func (ParentI16Mixin[T]) Fields ¶
func (ParentI16Mixin[T]) Fields() []ent.Field
type ParentI32Mixin ¶
ParentI32Mixin is a mixin for int32 primary key.
func (ParentI32Mixin[T]) Edges ¶
func (ParentI32Mixin[T]) Edges() []ent.Edge
func (ParentI32Mixin[T]) Fields ¶
func (ParentI32Mixin[T]) Fields() []ent.Field
type ParentI64Mixin ¶
ParentI64Mixin is a mixin for int64 primary key.
func (ParentI64Mixin[T]) Edges ¶
func (ParentI64Mixin[T]) Edges() []ent.Edge
func (ParentI64Mixin[T]) Fields ¶
func (ParentI64Mixin[T]) Fields() []ent.Field
type ParentI8Mixin ¶
ParentI8Mixin is a mixin for int8 primary key.
func (ParentI8Mixin[T]) Edges ¶
func (ParentI8Mixin[T]) Edges() []ent.Edge
func (ParentI8Mixin[T]) Fields ¶
func (ParentI8Mixin[T]) Fields() []ent.Field
type ParentStringMixin ¶
ParentStringMixin is a mixin for string primary key.
func (ParentStringMixin[T]) Edges ¶
func (ParentStringMixin[T]) Edges() []ent.Edge
func (ParentStringMixin[T]) Fields ¶
func (ParentStringMixin[T]) Fields() []ent.Field
type ParentU16Mixin ¶
ParentU16Mixin is a mixin for uint16 primary key.
func (ParentU16Mixin[T]) Edges ¶
func (ParentU16Mixin[T]) Edges() []ent.Edge
func (ParentU16Mixin[T]) Fields ¶
func (ParentU16Mixin[T]) Fields() []ent.Field
type ParentU32Mixin ¶
ParentU32Mixin is a mixin for uint32 primary key.
func (ParentU32Mixin[T]) Edges ¶
func (ParentU32Mixin[T]) Edges() []ent.Edge
func (ParentU32Mixin[T]) Fields ¶
func (ParentU32Mixin[T]) Fields() []ent.Field
type ParentU64Mixin ¶
ParentU64Mixin is a mixin for uint64 primary key.
func (ParentU64Mixin[T]) Edges ¶
func (ParentU64Mixin[T]) Edges() []ent.Edge
func (ParentU64Mixin[T]) Fields ¶
func (ParentU64Mixin[T]) Fields() []ent.Field
type ParentU8Mixin ¶
ParentU8Mixin is a mixin for uint8 primary key.
func (ParentU8Mixin[T]) Edges ¶
func (ParentU8Mixin[T]) Edges() []ent.Edge
func (ParentU8Mixin[T]) Fields ¶
func (ParentU8Mixin[T]) Fields() []ent.Field
Click to show internal directories.
Click to hide internal directories.