Documentation ¶
Index ¶
Constants ¶
const CoefficientsSchema = `` /* 445-byte string literal not displayed */
CoefficientsSchema gets the json schema to update coefficients
const DeleteEpcContextSchema = `` /* 255-byte string literal not displayed */
DeleteEpcContextSchema defines the body which deletes the epc context for the specific tag
const PostCurrentInventorySchema = `` /* 291-byte string literal not displayed */
const PurgingSchema = `` /* 151-byte string literal not displayed */
PurgingSchema gets the json schema to update purging days
const SearchByEpcSchema = `` /* 395-byte string literal not displayed */
SearchByEpcSchema defines the request body for searchbyepc endpoint the pattern only allows at most one '*'
const SearchByProductIdSchema = `` /* 515-byte string literal not displayed */
SearchByProductIDSchema required for request body validation
const SetEpcContextSchema = `` /* 321-byte string literal not displayed */
SetEpcContextSchema defines the body which sets the epc context for the specific tag
const UpdateQualifiedStateSchema = `` /* 330-byte string literal not displayed */
UpdateQualifiedStateSchema required for request body validation
Variables ¶
This section is empty.
Functions ¶
func BuildErrorsString ¶
func BuildErrorsString(resultsErrors []gojsonschema.ResultError) interface{}
BuildErrorsString concatenates errors and builds pretty error strings
func ValidateSchemaRequest ¶
ValidateSchemaRequest validates the api request body with the required json schema