public ApiDescriptionBuilder operations ( List < Operation > operations ) { if ( operations != null ) { this . operations = operations . stream ( ) . sorted ( operationOrdering ) . collect ( toList ( ) ) ; } return this ; }
Updates the operations to the api operation