components

package
v0.0.0-...-81acb82 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Overview

Package components provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.8.3 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type VironCreatedAt

type VironCreatedAt time.Time

作成日時

func (VironCreatedAt) MarshalJSON

func (c VironCreatedAt) MarshalJSON() ([]byte, error)

type VironEmailQueryParam

type VironEmailQueryParam string

VironEmailQueryParam defines model for VironEmailQueryParam.

type VironIdPathParam

type VironIdPathParam string

VironIdPathParam defines model for VironIdPathParam.

type VironIdQueryParam

type VironIdQueryParam string

VironIdQueryParam defines model for VironIdQueryParam.

type VironPager

type VironPager struct {
	CurrentPage int `json:"currentPage"`
	MaxPage     int `json:"maxPage"`
}

VironPager defines model for VironPager.

type VironPagerPageQueryParam

type VironPagerPageQueryParam int

VironPagerPageQueryParam defines model for VironPagerPageQueryParam.

func (VironPagerPageQueryParam) Page

func (p VironPagerPageQueryParam) Page() int

type VironPagerSizeQueryParam

type VironPagerSizeQueryParam int

VironPagerSizeQueryParam defines model for VironPagerSizeQueryParam.

func (VironPagerSizeQueryParam) Size

func (s VironPagerSizeQueryParam) Size() int

type VironRoleIdQueryParam

type VironRoleIdQueryParam string

VironRoleIdQueryParam defines model for VironRoleIdQueryParam.

type VironSortQueryParam

type VironSortQueryParam []string

VironSortQueryParam defines model for VironSortQueryParam.

func (VironSortQueryParam) Sort

func (sort VironSortQueryParam) Sort() []string

type VironUpdatedAt

type VironUpdatedAt time.Time

更新日時

func (VironUpdatedAt) MarshalJSON

func (u VironUpdatedAt) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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