Skip to content

Commit f1eb7a3

Browse files
author
al.kravchuk
committed
#24626: Webapi Swager schema generation fail in case when Get endpoint has param with Extension Attributes [Case#2].
Try to fix static tests.
1 parent 8dd8768 commit f1eb7a3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

app/code/Magento/Webapi/Model/Rest/Swagger/Generator.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,10 @@ class Generator extends AbstractSchemaGenerator
3333
*/
3434
const ERROR_SCHEMA = '#/definitions/error-response';
3535

36-
/**
37-
* Unauthorized description
38-
*/
36+
/** Unauthorized description */
3937
const UNAUTHORIZED_DESCRIPTION = '401 Unauthorized';
4038

41-
/**
42-
* Array signifier
43-
*/
39+
/** Array signifier */
4440
const ARRAY_SIGNIFIER = '[0]';
4541

4642
/**

0 commit comments

Comments
 (0)