Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
openapi: 3.0.0
info:
title: FramaCRestfulApiForPkm
description: API of Frama-C
version: 1.0.0
contact:
email: decoder@decoder-project.eu
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: http://127.0.0.1:8081
paths:
/frama_c/{dbName}:
post:
operationId: frama_c
parameters:
- name: dbName
description: Database name from where to get source code/header files and put analysis results
in: path
required: true
schema:
type: string
- name: source_file_paths
description: Source code filenames
in: header
required: true
schema:
type: array
items:
type: string
- name: header_file_paths
description: Source Header filenames
in: header
schema:
type: array
items:
type: string
responses:
200:
description: Successful operation
content:
application/json:
schema:
type: object
properties:
stdout:
type: string
stderr:
type: string
400:
description: Bad request
content:
application/json:
schema:
type: string
description: error message
401:
description: Unauthorized operation, returns an error message
content:
application/json:
schema:
type: string
description: error message
403:
description: Forbidden operation, returns an error message
content:
application/json:
schema:
type: string
description: error message
500:
description: Internal Server Error, returns an error message
content:
application/json:
schema:
type: string
description: error message