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

(-)a/Koha/REST/V1/Biblios.pm (-1 / +7 lines)
Lines 81-93 sub get { Link Here
81
                    format => 'marc',
81
                    format => 'marc',
82
                    text   => $record->as_usmarc
82
                    text   => $record->as_usmarc
83
                },
83
                },
84
                txt => {
85
                    status => 200,
86
                    format => 'text/plain',
87
                    text   => $record->as_formatted
88
                },
84
                any => {
89
                any => {
85
                    status  => 406,
90
                    status  => 406,
86
                    openapi => [
91
                    openapi => [
87
                        "application/json",
92
                        "application/json",
88
                        "application/marcxml+xml",
93
                        "application/marcxml+xml",
89
                        "application/marc-in-json",
94
                        "application/marc-in-json",
90
                        "application/marc"
95
                        "application/marc",
96
                        "text/plain"
91
                    ]
97
                    ]
92
                }
98
                }
93
            );
99
            );
(-)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