Skip to content

OpenApiGenerator.AspNet package #27

Description

@HavenDV

It is planned that it will add /nuget/v3/index.json and other endpoints to allow the server to serve a ready-made OpenAPI Rest client packaged in NuGet

builder.Services.AddRestClientNuGet();
app.MapRestClientNuGet();

And using this client would look something like this:
nuget.config

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <clear />
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
    <add key="rest-client" value="https://your-server.com/nuget/v3/index.json" protocolVersion="3" />
  </packageSources>
</configuration>

References:

Need to think about versioning of this NuGet

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions