Skip to content

Commit c6df98b

Browse files
author
Vladimir Kotal
committed
fix formatting
1 parent 5928063 commit c6df98b

File tree

1 file changed

+25
-22
lines changed

1 file changed

+25
-22
lines changed

apiary.apib

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,34 @@ Besides `/suggester` and `/search` endpoints, everything is accessible from `loc
1111
### return XML representation of configuration [GET]
1212

1313
+ Response 200 (application/xml)
14+
+ Body
1415

15-
```
16-
<?xml version="1.0" encoding="UTF-8"?>
17-
<java version="1.8.0_172" class="java.beans.XMLDecoder">
18-
<object class="org.opengrok.indexer.configuration.Configuration" id="Configuration0">
19-
<void property="allowLeadingWildcard">
20-
<boolean>true</boolean>
21-
</void>
22-
</object>
23-
</java>
24-
```
16+
```
17+
<?xml version="1.0" encoding="UTF-8"?>
18+
<java version="1.8.0_172" class="java.beans.XMLDecoder">
19+
<object class="org.opengrok.indexer.configuration.Configuration" id="Configuration0">
20+
<void property="allowLeadingWildcard">
21+
<boolean>true</boolean>
22+
</void>
23+
</object>
24+
</java>
25+
```
2526

2627
### sets configuration from XML representation [POST]
2728

2829
+ Request (application/xml)
29-
30-
```
31-
<?xml version="1.0" encoding="UTF-8"?>
32-
<java version="1.8.0_172" class="java.beans.XMLDecoder">
33-
<object class="org.opengrok.indexer.configuration.Configuration" id="Configuration0">
34-
<void property="allowLeadingWildcard">
35-
<boolean>true</boolean>
36-
</void>
37-
</object>
38-
</java>
39-
```
30+
+ Body
31+
32+
```
33+
<?xml version="1.0" encoding="UTF-8"?>
34+
<java version="1.8.0_172" class="java.beans.XMLDecoder">
35+
<object class="org.opengrok.indexer.configuration.Configuration" id="Configuration0">
36+
<void property="allowLeadingWildcard">
37+
<boolean>true</boolean>
38+
</void>
39+
</object>
40+
</java>
41+
```
4042

4143
+ Response 201 (application/json)
4244

@@ -378,6 +380,7 @@ Repository type is separated from the repository path with a colon.
378380
+ Request (text/plain)
379381
+ Body
380382

381-
lines of path description file
383+
/foo bar
384+
/foo/foo bar bar
382385

383386
+ Response 204

0 commit comments

Comments
 (0)