openapi

package
v0.0.0-...-bac7da6 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

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

Code generated by github.com/deepmap/oapi-codegen/v2 version v2.1.1-0.20240601101045-cb61b77eea50 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateTodoJSONBody

type CreateTodoJSONBody struct {
	Title string `json:"title"`
}

CreateTodoJSONBody defines parameters for CreateTodo.

type CreateTodoJSONRequestBody

type CreateTodoJSONRequestBody CreateTodoJSONBody

CreateTodoJSONRequestBody defines body for CreateTodo for application/json ContentType.

type ErrorResponseSchema

type ErrorResponseSchema struct {
	Message string `json:"message"`
}

ErrorResponseSchema defines model for ErrorResponseSchema.

type TodoSchema

type TodoSchema struct {
	Completed bool               `json:"completed"`
	Id        openapi_types.UUID `json:"id"`
	Title     string             `json:"title"`
}

TodoSchema defines model for TodoSchema.

type UpdateTodoJSONBody

type UpdateTodoJSONBody struct {
	Completed bool   `json:"completed"`
	Title     string `json:"title"`
}

UpdateTodoJSONBody defines parameters for UpdateTodo.

type UpdateTodoJSONRequestBody

type UpdateTodoJSONRequestBody UpdateTodoJSONBody

UpdateTodoJSONRequestBody defines body for UpdateTodo for application/json ContentType.

Jump to

Keyboard shortcuts

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