-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: upgrade openapi dependency to feat/r17 #33
Conversation
Is the PR ready? |
LGTM! |
Add |
@@ -48,7 +48,7 @@ func (p *Processor) ApplicationDataInfluenceDataGetProcedure(c *gin.Context, col | |||
|
|||
func (p *Processor) ParseSnssaisFromQueryParam(snssaiStr string) []models.Snssai { | |||
var snssais []models.Snssai | |||
err := json.Unmarshal([]byte("["+snssaiStr+"]"), &snssais) | |||
err := json.Unmarshal([]byte(snssaiStr), &snssais) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ian60509 Why does this line need to be changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to TS 29.571 Snssai definition, I revised it to comply with the spec :
- pattern:
'^[A-Fa-f0-9]{6}$'
Overall, it looks good to me. |
No description provided.