Project

General

Profile

Actions

Bug #9720

closed

APIv1 subnets "ipam" documentation is inconsistent with v2

Added by Dominic Cleal about 10 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

The APIv1 subnets documentation for the "ipam" attribute says it's a bool, but it's actually a string. The APIv2 docs are correct and just need copying to v1.

https://github.com/theforeman/foreman/blob/1.8.0-RC1/app/controllers/api/v1/subnets_controller.rb#L33
https://github.com/theforeman/foreman/blob/1.8.0-RC1/app/controllers/api/v2/subnets_controller.rb#L36

Actions

Also available in: Atom PDF