forked from loafle/openapi-generator-original
* Fix the GNAT project for the client and server to avoid using unecessary projects on the client side * Define a minimal configuration for user and application definition * Fix the server skeleton to emit the response only when the status code is 200 * Fix the Ada petstore GNAT project
26 lines
914 B
Plaintext
26 lines
914 B
Plaintext
-- Swagger Petstore
|
|
-- This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special_key` to test the authorization filters.
|
|
-- OpenAPI spec version: 1.0.0
|
|
--
|
|
-- https://github.com/swagger-api/swagger-codegen.git
|
|
--
|
|
-- NOTE: Auto generated by the swagger code generator program.
|
|
with "config";
|
|
with "util";
|
|
with "util_http";
|
|
with "security";
|
|
with "swagger";
|
|
project Petstore is
|
|
|
|
Mains := ("petstore.adb");
|
|
for Main use Mains;
|
|
for Source_Dirs use ("src", "src/model", "src/client");
|
|
for Object_Dir use "./" & Config'Exec_Dir & "/bin";
|
|
|
|
package Binder renames Config.Binder;
|
|
package Builder renames Config.Builder;
|
|
package Compiler renames Config.Compiler;
|
|
package Linker renames Config.Linker;
|
|
|
|
end Petstore;
|