Skip to content

Releases: danielgtaylor/apisprout

API Sprout 1.3.0

19 Mar 05:34
71d0e9f
Compare
Choose a tag to compare
  • Add --add-server to add a custom server when using --validate-server.
    This allows quickly adding a custom domain or base path that will properly
    validate.
  • Add --header (short -H) option to specify a custom header when fetching
    the API document. This allows you to pass custom auth info.
  • Add readOnly and writeOnly support to the example generator.
  • Revamped support for --validate-server (short -s)
    • Requires the use of server base path(s) on the client.
    • Localhost is now always allowed on all known base paths.
    • Support for proxy headers (e.g. X-Forwarded-Host).
  • Better support for resolving relative path references.
  • Be more resilient to parser panics when using --watch
  • Update Docker build to use Go 1.12 and Go modules.
  • Enhance example-from-schema generation code. Support enums, string formats,
    array and object examples, min/max and min items.

API Sprout 1.2.0

28 Feb 05:22
20617b5
Compare
Choose a tag to compare
  • Add support for reloading OpenAPI URLs via /__reload on the server.
  • Support external references in OpenAPI loader.
  • Update dependencies, simplify file loading.
  • Support jsonapi.org content type (application/vnd.api+json).
  • Switch from dep to Go modules.

API Sprout 1.1.1

30 Jan 18:26
ae84da3
Compare
Choose a tag to compare
  • Fix OPTIONS request to also include CORS headers.

API Sprout 1.1.0

30 Jan 05:15
18e97c3
Compare
Choose a tag to compare
  • Added the --watch (short -w) parameter to reload whenever the input file
    changes. This currently only works when using files on disk.
  • Update Docker build to use Go 1.11.
  • Generate examples from schema when no example is available.
  • Fix path parameter validation.
  • Add CORS headers. Disable with --disable-cors.
  • Documentation updates.

API Sprout 1.0.1

04 Oct 04:41
3c2ec2e
Compare
Choose a tag to compare
  • Dependency updates, fixes string format validation bug.

API Sprout 1.0.0

25 Jul 06:17
2543f16
Compare
Choose a tag to compare

Initial release.