smash-api's People
smash-api's Issues
Define refs in swagger for all response codes
Fix inconsistent relations in endpoint repsonses
Swagger
- Team 2 Player
- Game 2 Team
- Game 2 Round
Unit Test
- Team 2 Player
- Game 2 Team
- Game 2 Round
Controller
- Team 2 Player
- Game 2 Team
- Game 2 Round
Create an endpoint for creating schedule
Reconsider the usage of PATCH method endpoints
@see: http://williamdurand.fr/2014/02/14/please-do-not-patch-like-an-idiot/
If PATCH method routes will be implemented, they should implement RFC6902
Add swagger ui spec as "/" get route
Implement a filter for finding rounds on a specific date
- Unit test
- Repository updated
Implement a filter for getting all rounds between two specific dates
- Unit test
- Repository updated
Update the swagger api in order to describe the player entity endpoints
- Reference for pagination parameters
- Reference for pagination responses
Introduce a parameter for specifying the number of results
4xx should have the same response scheme
Currently 400 is not providing a detail property
400:
description: Bad Request
schema:
type: object
properties:
status:
type: integer
type:
type: string
title:
type: string
Whereas the other 4xx error have the detail property defined
Check if it is possible to combine all 4xx responses into one definition
Make GET endpoints public without the need to authorized
Team entity management
Use @Link Annotations for collection response as well
Add roles and scopes to JWT
Migrate to version ^2 of LexikJWTAuhtenticationBundle
Provide error message documentation
Phing targets
- Deploy to server
- Backup Database
- Create api documentation from spec
Games endpoint
Database model
rounds table
- MySQL Schema
- ORM
- Entity
- Repository
games table
- MySQL Schema
- ORM
- Entity
- Repository
Remove foreign keys
Foreign keys are a pain the ass with doctrine and the form types
- Remove foreign keys from team table
- Remove orm annotation for fk constraint in team entity
- Consider the removal of the brutal purge amendment
Support OPTIONS method
JWTs should expire
Refac Update *ENTITY* FormTypes
Consider a base class for the three update form type classes
Rounds endpoint
Switch from User entity to memory user
Promote actions and tests cases for not existing resources
Move api routes from ^/ to ^/api/ and add the 2nd firewall
Unify creation of links for collection
Seasons endpoint
Sawgger Spec
- GET
- GET/{$id}
Unit Test
- GET
- GET/{$id}
Controller
- GET
- GET/{$id}
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.