6 Commits

Author SHA1 Message Date
Mark Perryman
e6ceb1fc0a Generate examples with jsf (#1891)
Fixes https://github.com/spec-first/connexion/issues/1719 .

Builds on work of https://github.com/spec-first/connexion/pull/1718,
pulling in external library to provide the fake data from JSON schema.

Changes proposed in this pull request:

* Use JSF library to generate sample data for mocking APIs without
examples.
* Add this as a new extra dependency "mock"

See discussion on https://github.com/spec-first/connexion/pull/1870

---------

Co-authored-by: Robbe Sneyders <robbe.sneyders@gmail.com>
2024-03-20 22:27:14 +01:00
Mark Perryman
994f53fb04 Allow the specification to be specified as a URL. (#1871)
Changes proposed in this pull request:

- Allow a specification to be specified as a URL that is downloaded when
the App runs. In combination with the existing mock features, this makes
it a single command to run a mock server for any published API.

---------

Co-authored-by: Robbe Sneyders <robbe.sneyders@gmail.com>
2024-02-18 21:56:31 +01:00
Robbe Sneyders
99c7a13b53 Update cli docs (#1763)
Contributes towards #1531
2023-10-29 14:23:21 +01:00
Henning Jacobs
e8ffc95e17 #292 mention --mock in docs 2016-09-29 19:22:48 +02:00
Rafael Caricio
6076f96fd3 Fix typo 2016-09-15 00:51:53 +02:00
Rafael Caricio
fec010b2f8 Document connexion run command 2016-09-14 23:04:35 +02:00