all_http_methods

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

Overview

Package all_http_methods declares one handler per HTTP verb so that setPathOperation walks the PATCH, HEAD and OPTIONS branches alongside the already-tested GET/POST/PUT/DELETE.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteItem

func DeleteItem()

DeleteItem swagger:route DELETE /items items deleteItem

Delete an item.

Responses:

204: description: No Content

func GetItem

func GetItem()

GetItem swagger:route GET /items items getItem

Get an item by id.

Responses:

200: description: OK

func HeadItem

func HeadItem()

HeadItem swagger:route HEAD /items items headItem

Probe an item.

Responses:

200: description: OK

func OptionsItem

func OptionsItem()

OptionsItem swagger:route OPTIONS /items items optionsItem

Describe the supported HTTP methods.

Responses:

200: description: OK

func PatchItem

func PatchItem()

PatchItem swagger:route PATCH /items items patchItem

Apply a partial update.

Responses:

200: description: OK

func PostItem

func PostItem()

PostItem swagger:route POST /items items postItem

Create an item.

Responses:

201: description: Created

func PutItem

func PutItem()

PutItem swagger:route PUT /items items putItem

Replace an item.

Responses:

200: description: OK

Types

This section is empty.

Jump to

Keyboard shortcuts

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