Skip to content

swagger-ui accessing generated JSON file? #35902

@khteh

Description

@khteh

Description

Can I still use Swagger UI to expose interactive documentation using the generated JSON file? How do I accomplish it?

    app.UseSwaggerUI(c =>
    {
        c.SwaggerEndpoint($"How to specify this value?", "AspNetCoreWebApi V9.0");
    });

Page URL

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/overview?view=aspnetcore-9.0&preserve-view=true

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/openapi/overview.md

Document ID

d8ac1ac3-8b34-6886-bca4-740514f94229

Platform Id

fc9e39cd-d174-e15e-47f9-bedd1b2be2cd

Article author

@wadepickett

Metadata

  • ID: d8ac1ac3-8b34-6886-bca4-740514f94229
  • PlatformId: fc9e39cd-d174-e15e-47f9-bedd1b2be2cd
  • Service: aspnet-core
  • Sub-service: fundamentals

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions