Skip to content

Commit

Permalink
Fix Lint error (#13765)
Browse files Browse the repository at this point in the history
* Add missing default error response

* Update the integer format to fix Lint error

* Add securityDefinitions
  • Loading branch information
jiacheng-L authored Apr 6, 2021
1 parent 32e8a70 commit 6a34453
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,16 @@
"modelAsString": true
}
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -306,24 +306,24 @@
"nbf": {
"x-ms-client-name": "NotBefore",
"type": "integer",
"format": "unixtime",
"format": "int64",
"description": "Not before date in seconds since 1970-01-01T00:00:00Z."
},
"exp": {
"x-ms-client-name": "Expires",
"type": "integer",
"format": "unixtime",
"format": "int64",
"description": "Expiry date in seconds since 1970-01-01T00:00:00Z."
},
"created": {
"type": "integer",
"format": "unixtime",
"format": "int64",
"readOnly": true,
"description": "Creation time in seconds since 1970-01-01T00:00:00Z."
},
"updated": {
"type": "integer",
"format": "unixtime",
"format": "int64",
"readOnly": true,
"description": "Last updated time in seconds since 1970-01-01T00:00:00Z."
}
Expand Down

0 comments on commit 6a34453

Please sign in to comment.