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

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

--  {{{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 {{dataType}}{{#hasMore}};
       {{/hasMore}}{{/allParams}}{{#returnType}};
       Result  : out {{returnType}}{{/returnType}};
       Context : in out Swagger.Servers.Context_Type) is
   begin
      null;
   end {{operationId}};
{{/operation}}
{{/operations}}
{{/apis}}
{{/apiInfo}}

end {{package}}.Servers;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy