Skip to content

[release/6.0-rc1] Add API parameter description to API description to represent the request body - 35421#35798

Merged
rafikiassumani-msft merged 1 commit intodotnet:release/6.0-rc1from
rafikiassumani-msft:rc-1
Aug 27, 2021
Merged

[release/6.0-rc1] Add API parameter description to API description to represent the request body - 35421#35798
rafikiassumani-msft merged 1 commit intodotnet:release/6.0-rc1from
rafikiassumani-msft:rc-1

Conversation

@rafikiassumani-msft
Copy link
Contributor

Backport of #35654 to release/6.0-rc1

Customer Impact

This PR will make it possible for customers to view the incoming request body schemas and media types for Minimal endpoints in the API explorer (Swagger)

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

No change in functionality, just a change to namespace.

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

Fixes #35421

…t body - 35421 (dotnet#35654)

* flow addition parameters to swagger
@Pilchie Pilchie added the old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels label Aug 26, 2021
@rafikiassumani-msft rafikiassumani-msft added the feature-minimal-actions Controller-like actions for endpoint routing label Aug 26, 2021
// Trigger Endpoint build by calling getter.
var endpoint = Assert.Single(dataSource.Endpoints);

var endpointMetadata = endpoint.Metadata.GetOrderedMetadata<IAcceptsMetadata>();
Copy link
Member

Choose a reason for hiding this comment

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

Why the call to GetOrderedMetadata? The other tests call GetMetadata

@rafikiassumani-msft rafikiassumani-msft merged commit e1bab05 into dotnet:release/6.0-rc1 Aug 27, 2021
@ghost ghost added this to the 6.0-rc1 milestone Aug 27, 2021
@amcasey amcasey added the area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc label Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc feature-minimal-actions Controller-like actions for endpoint routing old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants