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 into
devfrom
api-explorer-parameters
Closed

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

Conversation

@rynowak

@rynowak rynowak commented May 5, 2015

Copy link
Copy Markdown
Member

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

rynowak commented May 5, 2015

Copy link
Copy Markdown
Member Author

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

@dnfclas

dnfclas commented May 6, 2015

Copy link
Copy Markdown

@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

Eilon commented May 7, 2015

Copy link
Copy Markdown
Contributor

:shipit:

@rynowak

rynowak commented May 8, 2015

Copy link
Copy Markdown
Member Author

@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