MAAS OpenApi Schema cutoff variable names
Bug #2009140 reported by
Jack Lloyd-Walters
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Jack Lloyd-Walters | ||
3.3 |
Fix Released
|
Medium
|
Jack Lloyd-Walters |
Bug Description
Generating human consumable names for the schema requires stripping characters (specifically '{' and '}') from parameter names.
There are at least two cases where this has been performed erroneously:
`power_
The trailing '}' is stripped, despite it not enclosing the entire variable name.
Related branches
~lloydwaltersj/maas:backport-2009140
- Alexsander de Souza: Approve
- MAAS Lander: Approve
-
Diff: 39 lines (+11/-3)1 file modifiedsrc/maasserver/api/doc_oapi.py (+11/-3)
~lloydwaltersj/maas:fix-broken-oapi-param-names
- MAAS Lander: Approve
- Alberto Donato (community): Approve
-
Diff: 39 lines (+11/-3)1 file modifiedsrc/maasserver/api/doc_oapi.py (+11/-3)
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.3.x → 3.4.0 |
importance: | Medium → High |
importance: | High → Medium |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.