-
Notifications
You must be signed in to change notification settings - Fork 1
/
PathHelper.php
21 lines (18 loc) · 883 Bytes
/
PathHelper.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
declare(strict_types=1);
namespace Th3Mouk\OpenAPIGenerator;
class PathHelper
{
public const ROOT = '/specs';
public const PATHS = self::ROOT . '/paths';
public const COMPONENTS = self::ROOT . '/components';
public const SCHEMAS = self::COMPONENTS . '/schemas';
public const RESPONSES = self::COMPONENTS . '/responses';
public const PARAMETERS = self::COMPONENTS . '/parameters';
public const EXAMPLES = self::COMPONENTS . '/examples';
public const REQUEST_BODIES = self::COMPONENTS . '/requestBodies';
public const HEADERS = self::COMPONENTS . '/headers';
public const SECURITY_SCHEMES = self::COMPONENTS . '/securitySchemes';
public const LINKS = self::COMPONENTS . '/links';
public const CALLBACKS = self::COMPONENTS . '/callbacks';
}