Fixed issue with badly parsed characters for OpenAPI
This commit is contained in:
@@ -2102,7 +2102,7 @@ const AngularWorkflow = (props) => {
|
||||
|
||||
// Basically just a stupid if-else :)
|
||||
const synonyms = {
|
||||
"id": ["id", "ref", "sourceref", "reference", "sourcereference", "alert id", "case id", "incident id", "service id", "sid", "uid", "uuid"],
|
||||
"id": ["id", "ref", "sourceref", "reference", "sourcereference", "alert id", "case id", "incident id", "service id", "sid", "uid", "uuid", "team id"],
|
||||
"title": ["title", "name", "message"],
|
||||
"description": ["description", "explanation", "story", "details",],
|
||||
"email": ["mail", "email", "sender", "receiver", "recipient"],
|
||||
|
||||
@@ -970,7 +970,7 @@ const AppCreator = (props) => {
|
||||
const basePath = "/"+(splitBase.slice(3, )).join("/")
|
||||
|
||||
const data = {
|
||||
"swagger": "3.0",
|
||||
"openapi": "3.0",
|
||||
"info": {
|
||||
"title": name,
|
||||
"description": description,
|
||||
|
||||
@@ -1639,7 +1639,7 @@ const Apps = (props) => {
|
||||
hidden
|
||||
type="file"
|
||||
ref={upload}
|
||||
accept="application/JSON, text/yaml, text/x-yaml, application/x-yaml, application/vnd.yaml"
|
||||
accept="application/JSON, application/YAML, text/yaml, text/x-yaml, application/x-yaml, application/vnd.yaml"
|
||||
multiple={false}
|
||||
onChange={uploadFile}
|
||||
/>
|
||||
|
||||
@@ -68,7 +68,7 @@ const LoginDialog = props => {
|
||||
}),
|
||||
)
|
||||
.catch(error => {
|
||||
setLoginInfo("Error logging in - please refresh in a minute: ", error)
|
||||
setLoginInfo("Error logging in - please refresh in a minute ", error)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -139,7 +139,7 @@ const LoginDialog = props => {
|
||||
}),
|
||||
)
|
||||
.catch(error => {
|
||||
setLoginInfo("Error in userdata: ", error)
|
||||
setLoginInfo("Error in from backend: ", error)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user