Skip to content
Snippets Groups Projects
  • Kevin Harwell's avatar
    7ea133f2
    rest-api: Swagger scripts were not replacing format variable in file brief · 7ea133f2
    Kevin Harwell authored
    Given resource paths did not have 'json' substituted in for the '{format}'. For
    some auto generated documentation/comment strings it resulted in something like
    the following:
    
    "... REST handler for /api-docs/sounds.{format}"
    
    This patch makes sure the resource api's path is properly substituted.
    
    ASTERISK-25472 #close
    
    Change-Id: Ie3e950a35db4043e284019d6c9061f3b03922e23
    7ea133f2
    History
    rest-api: Swagger scripts were not replacing format variable in file brief
    Kevin Harwell authored
    Given resource paths did not have 'json' substituted in for the '{format}'. For
    some auto generated documentation/comment strings it resulted in something like
    the following:
    
    "... REST handler for /api-docs/sounds.{format}"
    
    This patch makes sure the resource api's path is properly substituted.
    
    ASTERISK-25472 #close
    
    Change-Id: Ie3e950a35db4043e284019d6c9061f3b03922e23