Skip to content

ModuleNotFoundError exception rendering API schema under Python 3.9+ #10712

@jeremystretch

Description

@jeremystretch

NetBox version

v3.3.5

Python version

3.9

Steps to Reproduce

  1. Install NetBox using Python 3.9 or later
  2. Visit /api/docs/?format=openapi to render the raw API schema

Expected Behavior

The schema should render successfully.

Observed Behavior

A ModuleNotFoundError exception is raised. This appears to be due to a conflict introduced by swagger-spec-validator v3.0.0 under Python 3.9 or later.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions