Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/troytft/rest-api-bundle

REST API Bundle is abstraction layer for requests and responses
https://github.com/troytft/rest-api-bundle

api php rest rest-api symfony symfony-bundle

Last synced: about 1 month ago
JSON representation

REST API Bundle is abstraction layer for requests and responses

Awesome Lists containing this project

README

        

# REST API Bundle

[![Build Status](https://github.com/troytft/rest-api-bundle/workflows/Tests/badge.svg)](https://github.com/troytft/rest-api-bundle/workflows/Tests/badge.svg)

Features:
* Abstraction level for requests: describe jsonBody/queryString by php class, properties are configured by annotations
* Abstraction level for responses: describe response object by php class, properties are configured by public getters
* Auto-generated documentation: generate OpenAPI specification without additional code, just add @Docs\Endpoint() annotation

Work in progress.