schema

package
v0.0.0-alpha3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupRequest

type LookupRequest struct {
	/**
	 * PathParams
	 */
	PathParams struct{}

	/**
	 * QueryParams
	 */
	QueryParams struct{}

	/**
	 * Body
	 */
	Body struct {
		SchemaVersion utils.Version `json:"schema_version" form:"schema_version" xml:"schema_version"`
		EntityType    string        `json:"entity_type" form:"entity_type" xml:"entity_type"`
		RelationNames []string      `json:"relation_names" form:"relation_names" xml:"relation_names"`
	}
}

LookupRequest -

func (LookupRequest) Validate

func (r LookupRequest) Validate() (err error)

Validate -

type ReadRequest

type ReadRequest struct {
	/**
	 * PathParams
	 */
	PathParams struct {
		SchemaVersion utils.Version `param:"schema_version"`
	}

	/**
	 * QueryParams
	 */
	QueryParams struct{}

	/**
	 * Body
	 */
	Body struct{}
}

ReadRequest -

func (ReadRequest) Validate

func (r ReadRequest) Validate() (err error)

Validate -

Jump to

Keyboard shortcuts

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