All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project aims to adhere to Semantic Versioning.
laravel
type docs (https://github.com/knuckleswtf/scribe/pull/96)Laravel 8 support
description
field, where you can add a description of your API. This field will be used as the info.description
field in the Postman collection and OpenAPI spec, and as the first paragraph under the "Introduction" section on the generated webpage, before the intro_text
. (https://github.com/knuckleswtf/scribe/pull/90/commits/dc356f3f2b13732d567dbee88dad07fc0441f40e)auth
information is now populated from Scribe's auth info. (https://github.com/knuckleswtf/scribe/pull/90/commits/33c00a7a0b915e9cbedccdb13d7cb4fcc3c76dc5)float
type is now number
: Previously, float
was used in the generated webpage as the default type for non-integer numbers, in alignment with PHP's type system. We've changed this to number
, to align with standards like OpenAPI and JSON types. You can still use float
in your annotations, but it will be rendered as number
. (https://github.com/knuckleswtf/scribe/pull/90/commits/66993d2d2c7a1a57806960dd4cc428068fb0f589)PostmanCollectionWriter
has been reworked to be more in line with the OpenAPISpecWriter
. See the class for details.postman.auth
in favour of postman.overrides
: It didn't make sense to have two ways of setting Postman-specific auth information (postman.auth
and postman.overrides
). Will be removed in v2.postman.description
in favour of description
. Will be removed in v2.auth.placeholder
value so you can customise the placeholder API users will see in the example requests. (https://github.com/knuckleswtf/scribe/pull/84)Generator::getRouteBeingProcessed()
method that returns the current route. (https://github.com/knuckleswtf/scribe/pull/79)"apiKey"
as the value of type
in the security scheme (https://github.com/knuckleswtf/scribe/commit/896c2132ad3a2cfe89e0fba524aa489661823a11)See what's new and the migration guide.