package
0.0.0-20240419083830-d78187d14a3e
Repository: https://github.com/neticdk/go-openapi.git
Documentation: pkg.go.dev

# Functions

GetOperation gets a specific entity openapi:operation /entities/{id} GETopenapi:parameter id path string "the id of the entity"openapi:response default "this is a description"openapi:responseContent default application/json Modelopenapi:responseHeader default My-Custom-Header string "this header will tell you..."openapi:responseHeader default My-Other-Custom-Header string/date-time "this header will tell you..."openapi:responseExample default application/ld+json examples/get_operation_default.jsonopenapi:response 400 "client did something wrong"openapi:responseContent 400 application/problem+json Problemopenapi:responseExample 400 application/problem+json examples/get_operation_error.jsonopenapi:response 404 "something was not found"openapi:responseContent 404 application/problem+json Problem.
ListOperation lists the entities openapi:operation /entities GETopenapi:tag tag1openapi:tag tag2.
NotApiOperation this is not an operation to be document in openapi specification.
No description provided by the author
ReplaceOperation will replace (or create) a specific entity openapi:operation /entities/{id} PUTopenapi:parameter id path string "the id of the entity"openapi:requestBody application/json Model "The data to replace the current entity - if any".