Project

General

Profile

Bug #9973

apipie doc string substitutions not working

Added by Dominic Cleal over 6 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

A few apidocs have string substitutions implemented in config/initializers/apipie.rb, but they don't appear to work.

/apidoc/v2/compute_resources/create.html says Providers include %{providers} when it should list all known compute resource types.


Related issues

Related to Foreman - Feature #4478: API docs need to be localizedClosed2014-02-27

Associated revisions

Revision 75c85026 (diff)
Added by Dominic Cleal over 6 years ago

fixes #9973 - API doc keyword substitution with sprintf needs symbols

Revision f3b84a53 (diff)
Added by Dominic Cleal over 6 years ago

fixes #9973 - API doc keyword substitution with sprintf needs symbols

(cherry picked from commit 75c85026c9dc1ca3ba4072090fe7e1b4390c5346)

Conflicts:
config/initializers/apipie.rb

History

#1 Updated by Dominic Cleal over 6 years ago

#2 Updated by The Foreman Bot over 6 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2281 added
  • Pull request deleted ()

#3 Updated by Dominic Cleal over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal over 6 years ago

  • Legacy Backlogs Release (now unused) set to 28

Also available in: Atom PDF