Skip to content

Support for query string parameters #1058

@maurei

Description

@maurei

The current OpenApi integration does not support any query parameters. The task is to describe the standard JsonApiDotNetCore query features as query parameters in the OAS:

  • filtering
  • sorting
  • including
  • pagination
  • field selection

A first effort would be to add all parameters as string key-value pairs. So far two possible directions for a solution have been identified:

  • Instantiating a customized ControllerParameterDescriptor and adding it to ActionDescriptor.Parameters, using the metadata mechanism we have built in the core of the OpenApi integration.
  • Post-processing using a Swashbuckle IOperationFilter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy