Skip to content

OpenAPI spec should include servers property #12288

@abhi1693

Description

@abhi1693

NetBox version

v3.5.0-beta2

Feature type

Change to existing functionality

Proposed functionality

Add servers property to the spec

Use case

Having servers allows the client to easily run on targetted systems as a sane default value.

Log snippet from OpenAPI client generator

[main] INFO  o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]

Database changes

No response

External dependencies

No response

Metadata

Metadata

Assignees

Labels

betaConcerns a bug/feature in a beta releasestatus: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions