raml-php-parser
raml-php-parser copied to clipboard
Community-maintained RAML parser for php
As title, since the Travis CI dot org has been deprecated soon, it's time to move to other CI services. The Travis CI dot com is the good choice because...
I've got a project that still contains the original [alecsammons version of this library](https://github.com/alecsammon/php-raml-parser). I discovered recently that it does not support the `OPTIONS` HTTP method in RAML documents, which...
@alecsammon does not have the bandwidth to maintain the project anymore. He has agreed to hand over the project to whoever is willing to take over. We could also consider...
Hello, I have noticed that parser does not support parsing examples/definitions of responses with new "Type" that was introduced in RAML 1.0, however it still support schema only which is...
## Expected Behavior Method `getItems()` on `ArrayType` instance should return any object of `TypeInterface` For example for RAML spec like: ``` ... types: Cats: type: object[] items: properties: name: string...
The current implementation of `Body`/`WebFormBody`'s `createFromArray` method does not support the shortcut: `!!null`. Judging by the [spec](http://raml.org/spec.html#body), this is legitimate: ``` yaml /jobs: post: description: Create a Job body: text/xml:...
Scenario: ``` raml #%RAML 0.8 title: Sample for Schema Support version: 1 baseUri: http://some.example.com protocols: [ HTTPS, HTTP ] mediaType: application/hal+json schemas: - account: | { "type": "object", "$schema": "http://json-schema.org/draft-03/schema",...
According to line 815, empty schema is supported. This update avoids passing `null` when `$this->baseUri` doesn't have a scheme/schema from `\parse_url($this->baseUri, PHP_URL_SCHEME)` to `mb_strtoupper`. To reproduce: - Don't set a...
When using PHP 8.1 or 8.2 - "PHP Deprecated: Return type of Raml\SecurityScheme\SecuritySettings\DefaultSecuritySettings::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily...