Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reports and Scripts definitions are missing from OpenAPI #13036

Closed
abhi1693 opened this issue Jun 28, 2023 · 3 comments
Closed

Reports and Scripts definitions are missing from OpenAPI #13036

abhi1693 opened this issue Jun 28, 2023 · 3 comments
Assignees
Labels
severity: low Does not significantly disrupt application functionality, or a workaround is available status: blocked Another issue or external requirement is preventing implementation topic: OpenAPI type: bug A confirmed report of unexpected behavior in the application

Comments

@abhi1693
Copy link
Member

NetBox version

v3.5.4

Python version

3.10

Steps to Reproduce

This can be seen on the demo instance under extras at https://demo.netbox.dev/api/schema/swagger-ui/#/extras. There are no definitions displayed pertaining to scripts or reports.

You can still see these partially at https://demo.netbox.dev/api/extras/scripts/ and https://demo.netbox.dev/api/extras/reports/.

However, the same was available in v3.4.10.

Expected Behavior

GET and POST definitions for scripts and reports should be visible under OpenAPI.

Observed Behavior

No definitions for scripts and reports are visible in OpenAPI definition

@abhi1693 abhi1693 added type: bug A confirmed report of unexpected behavior in the application severity: low Does not significantly disrupt application functionality, or a workaround is available labels Jun 28, 2023
@arthanson
Copy link
Collaborator

The reports and scripts are not direct models so have to be done a bit different, as these will probably be combined together in 4.0 it makes sense to wait for then to do this.

@jeremystretch jeremystretch added the status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation label Oct 13, 2023
@arthanson arthanson self-assigned this Feb 15, 2024
@abhi1693
Copy link
Member Author

Blocked by #14438

@abhi1693 abhi1693 added status: blocked Another issue or external requirement is preventing implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Feb 21, 2024
@arthanson
Copy link
Collaborator

This is fixed as part of #14438 which will be in NB 4.0 (see screenshot of swagger docs) so closing.
Monosnap NetBox REST API 2024-02-27 10-18-28

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
severity: low Does not significantly disrupt application functionality, or a workaround is available status: blocked Another issue or external requirement is preventing implementation topic: OpenAPI type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

3 participants