Skip to content

Generate ApiSettings class #19

Open

Description

@jaapio

Generated Resource tests are using the Apisettings class. Which should be generated.

final class ApiSettings
{

    const NAMESPACE = "Namespace\From\Resource\yml";
}

Activity

  1. WyriHaximus commented on Jan 11, 2017

    @WyriHaximus
    Member

    Like the idea, not 100% sure this is the right package to be honest. We can either do it here, or work out https://github.com/php-api-clients/skeleton that can be used with composer create-project to generate all the basics of a client include ApiSettings. A third option would be to do it here first and later on move it to the skeleton package.

  2. jaapio commented on Jan 11, 2017

    @jaapio
    Author

    I'm trying to create my own client for toggl, I will report more issues. But I'm not sure where to create them. Feel free to close them or point me at the right project :-)

  3. WyriHaximus commented on Jan 11, 2017

    @WyriHaximus
    Member

    If you like you can create PR here adding a generator for ApiSettings, that would be a start. Take a look at the Travis client, it is nearly done and pretty much feature complete. Feel free to ping me on twitter when you're not sure where to report issues, all feedback is much appreciated and valued 👍 .

  4. added a commit that references this issue on May 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions