kleijnweb / php-api-descriptions Goto Github PK
View Code? Open in Web Editor NEWA PHP library for creating "contract-first" API applications.
License: GNU Lesser General Public License v3.0
A PHP library for creating "contract-first" API applications.
License: GNU Lesser General Public License v3.0
Validate request and response objects' Content-Type using description.
Possible approach would be to refactor RequestParameterAssembler into RequestDataAssembler and have the "data" include the Content-Type. Assembling of the "request schema" would also have to change.
For responses something similar needs to be done.
In summary, this is not a small change.
Move some OpenApi type resolution stuff for OpenApi from SwaggerBundle. Implement type resolution for RAML.
Needed for serializers.
Repository should be able to auto register()
all specs in basePath
, when that is a directory.
This seems to be more actively developed.
Abstract Schema
into an Abstract Type Hierarchy, generate Schema from that. This allows more flexibility when supporting standards other than OpenAPI 2.0.
Moved from kleijnweb/swagger-bundle#71
SimpleReader will produce an empty string instead of encountering FALSE and throwing an exception.
Moved from kleijnweb/swagger-bundle#50
Currently this is not possible because JSON-Schema meta-schema contains recursive pointers.
Instead of directly depending on the description schema, the hydrator should define its own type definitions.
This might be a PHP issue.
Description:getVersion()
Swagger: info -> version, RAML: version.
Most notably adds support fro JSON-Schema's oneOf
. Some refactoring will be required.
Moved from kleijnweb/swagger-bundle#86.
Undefined property: stdClass::$type in /home/jkleijn/Projects/php/kleijnweb/swagger-bundle-example/vendor/kleijnweb/php-api-descriptions/src/Description/Builder/OpenApiBuilder.php:193
Need to obtain a JSON Schema definition for RAML documents...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.