Code Review
/
ric-plt
/
a1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Removing deprecated functions from readthedocs
[ric-plt/a1.git]
/
pkg
/
models
/
policy_type_id.go
diff --git
a/pkg/models/policy_type_id.go
b/pkg/models/policy_type_id.go
index
6e67d41
..
3ddd43b
100644
(file)
--- a/
pkg/models/policy_type_id.go
+++ b/
pkg/models/policy_type_id.go
@@
-26,6
+26,8
@@
package models
// Editing this file might prove futile when you re-run the swagger generate command
import (
// Editing this file might prove futile when you re-run the swagger generate command
import (
+ "context"
+
"github.com/go-openapi/errors"
"github.com/go-openapi/strfmt"
"github.com/go-openapi/validate"
"github.com/go-openapi/errors"
"github.com/go-openapi/strfmt"
"github.com/go-openapi/validate"
@@
-54,3
+56,8
@@
func (m PolicyTypeID) Validate(formats strfmt.Registry) error {
}
return nil
}
}
return nil
}
+
+// ContextValidate validates this policy type id based on context it is used
+func (m PolicyTypeID) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
+ return nil
+}