All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Ada.server-body.mustache Maven / Gradle / Ivy

There is a newer version: 7.7.0
Show newest version
--  {{{appName}}}
--  {{{appDescription}}}
--  ------------ EDIT NOTE ------------
--  This file was generated with openapi-generator.  You can modify it to implement
--  the server.  After you modify this file, you should add the following line
--  to the .openapi-generator-ignore file:
--
--  src/{{packageName}}-servers.adb
--
--  Then, you can drop this edit note comment.
--  ------------ EDIT NOTE ------------
package body {{package}}.Servers is

{{#apiInfo}}
{{#apis}}
{{#operations}}
{{#operation}}

   --  {{summary}}{{#vendorExtensions.x-has-notes}}
   --  {{#lambdaAdaComment}}{{unescapedNotes}}{{/lambdaAdaComment}}{{/vendorExtensions.x-has-notes}}
   overriding
   procedure {{operationId}}
      (Server : in out Server_Type{{#hasParams}};{{/hasParams}}
       {{#allParams}}{{paramName}} : in {{#vendorExtensions.x-ada-type-name}}{{vendorExtensions.x-ada-type-name}}{{/vendorExtensions.x-ada-type-name}}{{^vendorExtensions.x-ada-type-name}}{{dataType}}{{/vendorExtensions.x-ada-type-name}}{{^-last}};
       {{/-last}}{{/allParams}}{{#returnProperty}};
       Result  : out {{vendorExtensions.x-ada-type-name}}{{/returnProperty}};
       Context : in out {{openApiPackageName}}.Servers.Context_Type) is
   begin
      null;
   end {{operationId}};
{{/operation}}
{{/operations}}
{{/apis}}
{{/apiInfo}}

end {{package}}.Servers;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy