forked from loafle/openapi-generator-original
* [Ada] Operation security scopes are ignored when generating the server (#1043) - Update fromOperation() to keep the operation required scopes for each auth method and store that information in the x-scopes vendor extensions attribute - Update postProcessOperationsWithModels() to process the operation required scopes and build a list of authMethods which only contain the required scopes for the operation and store these authMethods in the x-auth-scopes attribute. - Update postProcessAuthMethod() to handle the logic of filtering and building the operation authMethod (new instances are created because we must not modify the global authMethod definitions) - Update the Ada server templates to use the x-auth-scopes instead of authMethods Add a URL prefix parameter for the Ada server instantiation * Fix Ada code generator - update to generate Ada style type names (broken by the use of Camelize) - update the templates for Ada Util and Swagger libraries * Update generated GNAT project to add the 'utilada_xml' dependency * Update the Ada samples * Fix compilation of the petstore Ada sample