petstore

package
v1.23.10 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 4 Imported by: 0

README

Custom functions

This tests the custom functions feature of Astra. It is a simple example of how to use custom functions to create a new function that can be used. This tests:

  • Creating a custom handleError function
  • Using the custom handleError function with gin context parameters, status code and error.
  • Reporting this correctly in the response to the OpenAPI generator.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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