Skip to content

Implement API browsers as a concern #720

@Kaliumhexacyanoferrat

Description

@Kaliumhexacyanoferrat

As a developer of a web service, I would like to add API browsers to a Inline handler.

Example

It feels counter-intuitive that .AddRedoc() and similar just work on layouts.

Inline.Create()
      .Get(() => "Hello World")
      .AddOpenApi() // works
      .AddRedoc(); // throws

Acceptance criteria

  • API browsers can be used as regular concerns
  • The change is backwards compatible
  • The documentation is updated

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions