Giter VIP home page Giter VIP logo

ygoprodeck-openapi's People

Contributors

magicdgs avatar

Stargazers

 avatar

Watchers

 avatar

ygoprodeck-openapi's Issues

Enums are not completely documented and up-to-date

The following schemas are not documented in the original site and serialization might fail (e.g., in postman, the backup branch with all enum schemas generate warnings when imported). This will produce problems when generating client code as it might throw exceptions when deserializing.

To be consitent, the enums will be removed from those places. It is better that the client code removes those hard-coded enums even if failure is possible, because otherwise they might be to restrictive and new API being released everytime that something is introduced without any information.

The following enums are commented out from the API schemas:

  • schemas/Format.yaml - found that not all formats are documented (before having the enum)
  • schemas/Race.yaml - found that not all races are documented
  • schemas/Type.yaml - possibility that the types are not well documented
  • schemas/FrameType.yaml - possibility that the frametypes are not well documented

Maybe the solution will be to request endpoints for available values, similar to the /archetypes.php endpoint.

Add some tests for parameters

Currently the tests implemented are only against required ones, but we should provide some more newman/postman tests to check if we are in sync with the API.

Add language parameter

The language parameter is something that I have not documented yet cause I am not going to use. But for completeness I would like to add, as client-derived code might use it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.