Releases: mcclowes/speccy
Release list
speccy-spectral@0.13.1
Patch Changes
- Updated dependencies []:
- speccy-core@0.13.1
speccy-spectral@0.13.0
Patch Changes
- Updated dependencies [
eb610fc]:- speccy-core@0.13.0
speccy-renderer@0.13.1
speccy-renderer@0.13.0
Minor Changes
-
#62
54e9a75Thanks @mcclowes! - Add a Webhooks reference page listing every webhook the API delivers.Webhooks still appear under their tag in the sidebar, but the Reference group now also links to
/reference/webhooks, a single list of every webhook in the spec. The entry and its generated route appear only when the document declares webhooks. -
#62
eb610fcThanks @mcclowes! - Fix a set of OpenAPI constructs that rendered incorrectly or not at all.Operation parameters now replace the path-level parameters they repeat, as OpenAPI specifies. They previously rendered twice and were serialized twice into the generated request. An operation listed under several tags now appears under each of them instead of only the first.
Request and response bodies route through the schema explorer, which understood only declared properties and
allOf. AoneOfbody rendered as a single object built from a generated example, so every branch but the first disappeared, andadditionalPropertiesandpatternPropertieswere dropped. The explorer now renders root alternatives, pattern properties, additional properties, and a closed-object note, and schemas using keywords it cannot express fall back to the recursive schema view rather than losing them.discriminatoris rendered for the first time: both schema surfaces name the property that selects the shape and label each alternative with the mapped value that chooses it.A schema with no explicit
typewas labelledobjectandconstwas ignored entirely, so{ const: 'card' }displayed as an object whose example was the string"string". Types now come from the const literal, the structural keywords, or a shared composed type, and readanyonly when nothing constrains the value.Parameters declared with
contentrather thanschemaare described instead of showing an empty object — the Swagger 2 normalizer no longer fabricates a stand-in schema for OpenAPI 3 parameters. Parameter deprecation, serialization style, and named examples now render, as do a reusable header's required flag, deprecation, and examples, a reusable example's summary, and a Path Item's summary and description. An example'sexternalValueis presented as a link rather than as the payload, and field-level XML and external documentation are reachable again.
Patch Changes
-
#62
ac83feeThanks @mcclowes! - Serve the published OpenAPI description underdocusaurus start. The file was only emitted frompostBuild, so the overview's link to it 404ed for the whole time an author worked locally. The plugin now writes the description into its generated files directory and mounts that directory on the dev server at the same URL.The overview card also shows the description's URL instead of a second "Open OpenAPI description" label, and opens it in a new tab rather than navigating the reader out of the docs.
-
8a798d1Thanks @mcclowes! - Preserve enum values and scalar constraints on schemas wrapped withallOf. -
1e75c06Thanks @mcclowes! - Give each schema explorer constraint row a unique key, so a field with unequalminLengthandmaxLengthno longer renders two siblings keyedLength. -
Updated dependencies [
eb610fc]:- speccy-core@0.13.0
speccy-core@0.13.1
speccy-core@0.13.1
speccy-core@0.13.0
Minor Changes
-
#62
eb610fcThanks @mcclowes! - Fix a set of OpenAPI constructs that rendered incorrectly or not at all.Operation parameters now replace the path-level parameters they repeat, as OpenAPI specifies. They previously rendered twice and were serialized twice into the generated request. An operation listed under several tags now appears under each of them instead of only the first.
Request and response bodies route through the schema explorer, which understood only declared properties and
allOf. AoneOfbody rendered as a single object built from a generated example, so every branch but the first disappeared, andadditionalPropertiesandpatternPropertieswere dropped. The explorer now renders root alternatives, pattern properties, additional properties, and a closed-object note, and schemas using keywords it cannot express fall back to the recursive schema view rather than losing them.discriminatoris rendered for the first time: both schema surfaces name the property that selects the shape and label each alternative with the mapped value that chooses it.A schema with no explicit
typewas labelledobjectandconstwas ignored entirely, so{ const: 'card' }displayed as an object whose example was the string"string". Types now come from the const literal, the structural keywords, or a shared composed type, and readanyonly when nothing constrains the value.Parameters declared with
contentrather thanschemaare described instead of showing an empty object — the Swagger 2 normalizer no longer fabricates a stand-in schema for OpenAPI 3 parameters. Parameter deprecation, serialization style, and named examples now render, as do a reusable header's required flag, deprecation, and examples, a reusable example's summary, and a Path Item's summary and description. An example'sexternalValueis presented as a link rather than as the payload, and field-level XML and external documentation are reachable again.
speccy-cli@0.13.1
Patch Changes
- Updated dependencies []:
- speccy-core@0.13.1
speccy-cli@0.13.0
Patch Changes
- Updated dependencies [
eb610fc]:- speccy-core@0.13.0
docusaurus-plugin-speccy@0.13.1
Patch Changes
- Updated dependencies [
8b053f3]:- speccy-renderer@0.13.1
- speccy-spectral@0.13.1
docusaurus-plugin-speccy@0.13.0
Minor Changes
-
#62
54e9a75Thanks @mcclowes! - Add a Webhooks reference page listing every webhook the API delivers.Webhooks still appear under their tag in the sidebar, but the Reference group now also links to
/reference/webhooks, a single list of every webhook in the spec. The entry and its generated route appear only when the document declares webhooks.
Patch Changes
-
#62
ac83feeThanks @mcclowes! - Serve the published OpenAPI description underdocusaurus start. The file was only emitted frompostBuild, so the overview's link to it 404ed for the whole time an author worked locally. The plugin now writes the description into its generated files directory and mounts that directory on the dev server at the same URL.The overview card also shows the description's URL instead of a second "Open OpenAPI description" label, and opens it in a new tab rather than navigating the reader out of the docs.
-
Updated dependencies [
ac83fee,54e9a75,8a798d1,eb610fc,1e75c06]:- speccy-renderer@0.13.0
- speccy-spectral@0.13.0