forked from loafle/openapi-generator-original
* [Elixir] update version / add test * update samples (add missing 200 responses in petstore-with-fake-endpoints-models-for-testing.yaml) * [Elixir] update to 1.6 version * [Elixir] fix test petapi
27 lines
813 B
Markdown
27 lines
813 B
Markdown
# OpenapiPetstore
|
|
|
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
|
|
|
### Building
|
|
|
|
To install the required dependencies and to build the elixir project, run:
|
|
```
|
|
mix local.hex --force
|
|
mix do deps.get, compile
|
|
```
|
|
|
|
## Installation
|
|
|
|
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
|
|
by adding `openapi_petstore` to your list of dependencies in `mix.exs`:
|
|
|
|
```elixir
|
|
def deps do
|
|
[{:openapi_petstore, "~> 0.1.0"}]
|
|
end
|
|
```
|
|
|
|
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
|
|
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
|
|
be found at [https://hexdocs.pm/openapi_petstore](https://hexdocs.pm/openapi_petstore).
|