package
0.0.0-20240321163525-a7d6750cd4c1
Repository: https://github.com/joaosoft/swagger.git
Documentation: pkg.go.dev
# Functions
swagger:operation GET /errors getErrors
Returns the error definition
Could be any error
--- produces: - application/json parameters: - name: id_error in: query description: the error id required: true type: integer format: int32 responses: '200': description: the error definition schema: "$ref": "#/responses/ErrorResponse" '204': description: no content default: description: the error definition schema: "$ref": "#/responses/ErrorResponse".
swagger:route GET /persons/{id_person}/addresses/{id_address} address-tag GetPersonAddressByIDRequestParameter
Get the person address.
swagger:route GET /persons/{id_person} person-tag GetPersonByIDRequestParameter
Get person by id.
# Structs
A AddressResponse is an struct that contains the address information.
A ErrorResponse is an error that is used when the required input fails validation.
swagger:parameters GetPersonAddressByIDRequestParameter.
swagger:parameters GetPersonByIDRequestParameter.
A PersonResponse is an struct that contains the person information.