Javier Velilla c0c2f2b804
[Eiffel] various enhancements (#8076)
* Updated Eiffel code generator.
	Added missing language reserved words.

Updated mustache templates to use the latest Eiffel rules to avoid obsolte
feature calls and Cat-Calls.
Updated Eiffel configuration files (ecf's)
Updated comments styles.
Updated Travis CI file to use the latest Eiffel compiler.
Updated EIffel sample to use https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml

* Added missing mapping decimal to REAL_64
Added Eiffel Kernel classes to importMapping to avoid generate models for
them.
Fixed issue with Eiffel feature name generation, updated toOperationId(String) method.
Simplified toInstantiationType method implementaetion.
Improved model.mustache to generate Eiffel models.

* Updated Eiffel sample.

* Removed unneeded tabs.

* Added AnyType mapping to ANY
Removed unneeded tab
Updated model name, remane models that starts with _.

* update doc

Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-12-07 10:07:03 +08:00
..
2020-12-07 10:07:03 +08:00

Eiffel API client for openapi

This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: " \

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.EiffelClientCodegen

Installation

Add the library into your Eiffel configuration file.

    "<library name="api_client" location="%PATH_TO_EIFFEL_OPENAPI_CLIENT%\api_client.ecf"/>"

Documentation for API Endpoints

All URIs are relative to http://petstore.swagger.io:80/v2

Class Method HTTP request Description
ANOTHERFAKE_API call123test_special_tags Patch /another-fake/dummy To test special tags
FAKE_API create_xml_item Post /fake/create_xml_item creates an XmlItem
FAKE_API fake_outer_boolean_serialize Post /fake/outer/boolean
FAKE_API fake_outer_composite_serialize Post /fake/outer/composite
FAKE_API fake_outer_number_serialize Post /fake/outer/number
FAKE_API fake_outer_string_serialize Post /fake/outer/string
FAKE_API test_body_with_file_schema Put /fake/body-with-file-schema
FAKE_API test_body_with_query_params Put /fake/body-with-query-params
FAKE_API test_client_model Patch /fake To test &quot;client&quot; model
FAKE_API test_endpoint_parameters Post /fake Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
FAKE_API test_enum_parameters Get /fake To test enum parameters
FAKE_API test_group_parameters Delete /fake Fake endpoint to test group parameters (optional)
FAKE_API test_inline_additional_properties Post /fake/inline-additionalProperties test inline additionalProperties
FAKE_API test_json_form_data Get /fake/jsonFormData test json serialization of form data
FAKE_API test_query_parameter_collection_format Put /fake/test-query-paramters
FAKECLASSNAMETAGS123_API test_classname Patch /fake_classname_test To test class name in snake case
PET_API add_pet Post /pet Add a new pet to the store
PET_API delete_pet Delete /pet/{petId} Deletes a pet
PET_API find_pets_by_status Get /pet/findByStatus Finds Pets by status
PET_API find_pets_by_tags Get /pet/findByTags Finds Pets by tags
PET_API pet_by_id Get /pet/{petId} Find pet by ID
PET_API update_pet Put /pet Update an existing pet
PET_API update_pet_with_form Post /pet/{petId} Updates a pet in the store with form data
PET_API upload_file Post /pet/{petId}/uploadImage uploads an image
PET_API upload_file_with_required_file Post /fake/{petId}/uploadImageWithRequiredFile uploads an image (required)
STORE_API delete_order Delete /store/order/{order_id} Delete purchase order by ID
STORE_API inventory Get /store/inventory Returns pet inventories by status
STORE_API order_by_id Get /store/order/{order_id} Find purchase order by ID
STORE_API place_order Post /store/order Place an order for a pet
USER_API create_user Post /user Create user
USER_API create_users_with_array_input Post /user/createWithArray Creates list of users with given input array
USER_API create_users_with_list_input Post /user/createWithList Creates list of users with given input array
USER_API delete_user Delete /user/{username} Delete user
USER_API login_user Get /user/login Logs user into the system
USER_API logout_user Get /user/logout Logs out current logged in user session
USER_API update_user Put /user/{username} Updated user
USER_API user_by_name Get /user/{username} Get user by user name

Documentation For Models

Documentation For Authorization

api_key

  • Type: API key
  • API key parameter name: api_key
  • Location: HTTP header

api_key_query

  • Type: API key
  • API key parameter name: api_key_query
  • Location: URL query string

http_basic_test

  • Type: HTTP basic authentication

petstore_auth

Author