Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Fix #2378 - Fully expand models in ApiExplorer#2502

Closed
rynowak wants to merge 1 commit intodevfrom
api-explorer-parameters
Closed

Fix #2378 - Fully expand models in ApiExplorer#2502
rynowak wants to merge 1 commit intodevfrom
api-explorer-parameters

Conversation

@rynowak
Copy link
Copy Markdown
Member

@rynowak rynowak commented May 5, 2015

This change dramatically simplifies the parameter discovery logic in
DefaultApiDescriptionProvider. Instead of surfacing POCO objects as
parameters, we now fully expand every model.

The rationale is that we want to show every key/value that can be set by
the user and not force consumers of ApiDescription to do that themselves.

Tests are cleaned up to match the new behavior.

This change dramatically simplifies the parameter discovery logic in
DefaultApiDescriptionProvider. Instead of surfacing POCO objects as
parameters, we now fully expand every model.

The rationale is that we want to show every key/value that can be set by
the user and not force consumers of ApiDescription to do that themselves.

Tests are cleaned up to match the new behavior.
@rynowak
Copy link
Copy Markdown
Member Author

rynowak commented May 5, 2015

/cc @domaindrivendev - this is the design change we discussed for parameters.

@dnfclas
Copy link
Copy Markdown

dnfclas commented May 6, 2015

@rynowak, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.

Thanks, DNFBOT;

@Eilon
Copy link
Copy Markdown
Contributor

Eilon commented May 7, 2015

:shipit:

@rynowak
Copy link
Copy Markdown
Member Author

rynowak commented May 8, 2015

@dougbu should this be closed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants