View | Details | Raw Unified | Return to bug 24908
Collapse All | Expand All

(-)a/Koha/REST/V1/Biblios.pm (-1 / +7 lines)
Lines 82-94 sub get { Link Here
82
                    format => 'marc',
82
                    format => 'marc',
83
                    text   => $record->as_usmarc
83
                    text   => $record->as_usmarc
84
                },
84
                },
85
                txt => {
86
                    status => 200,
87
                    format => 'text/plain',
88
                    text   => $record->as_formatted
89
                },
85
                any => {
90
                any => {
86
                    status  => 406,
91
                    status  => 406,
87
                    openapi => [
92
                    openapi => [
88
                        "application/json",
93
                        "application/json",
89
                        "application/marcxml+xml",
94
                        "application/marcxml+xml",
90
                        "application/marc-in-json",
95
                        "application/marc-in-json",
91
                        "application/marc"
96
                        "application/marc",
97
                        "text/plain"
92
                    ]
98
                    ]
93
                }
99
                }
94
            );
100
            );
(-)a/api/v1/swagger/paths/biblios.json (-2 / +2 lines)
Lines 15-21 Link Here
15
        "application/json",
15
        "application/json",
16
        "application/marcxml+xml",
16
        "application/marcxml+xml",
17
        "application/marc-in-json",
17
        "application/marc-in-json",
18
        "application/marc"
18
        "application/marc",
19
        "text/plain"
19
      ],
20
      ],
20
      "responses": {
21
      "responses": {
21
        "200": {
22
        "200": {
22
- 

Return to bug 24908