Skip to content

Conversation

@Simperfit
Copy link
Contributor

@Simperfit Simperfit commented Jul 7, 2016

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets none
License MIT
Doc PR todo

@Simperfit Simperfit force-pushed the feature/swagger-v2 branch 2 times, most recently from 72ba1dd to 69785c6 Compare July 7, 2016 15:56
@Simperfit Simperfit changed the title feat: add tests and add collection [swagger-v2] feat: add tests and add collection Jul 8, 2016
@Simperfit Simperfit force-pushed the feature/swagger-v2 branch from cd40781 to db42275 Compare July 8, 2016 08:40
@Simperfit
Copy link
Contributor Author

This PR has been rebased with master

private $host;
private $schema;
private $formats;
const SWAGGER_VERSION = '2.0';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to our CS constants must be before properties (and add a blank line between constants an property).

@Simperfit
Copy link
Contributor Author

Comments Addressed

@Simperfit Simperfit force-pushed the feature/swagger-v2 branch from 37c5292 to d1666cd Compare July 8, 2016 09:27
@Simperfit Simperfit force-pushed the feature/swagger-v2 branch from d1666cd to 4169980 Compare July 8, 2016 09:28
->children()
->scalarNode('title')->defaultValue('')->info('The title of the API.')->end()
->scalarNode('description')->defaultValue('')->info('The description of the API.')->end()
->scalarNode('version')->defaultValue('')->info('The version of the API.')->end()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe 0.0.0 as default value?

@dunglas dunglas merged commit 13477d7 into api-platform:master Jul 9, 2016
@dunglas
Copy link
Member

dunglas commented Jul 9, 2016

Thank you @Simperfit

@Simperfit Simperfit deleted the feature/swagger-v2 branch July 14, 2016 15:18
magarzon pushed a commit to magarzon/core that referenced this pull request Feb 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants