Skip to content

Releases: belgif/rest-guide

Release v2024.04

05 Apr 14:39
Compare
Choose a tag to compare

Changes:

  • update [oas-tags]: add new guidelines on tags (declared, style, no more than one tag on an operation)

  • new: rule [oas-comp] applies naming guidelines on all types of components (previously in [oas-types] only for schemas)

  • added motivation for [oas-rdonly] why required properties shouldn’t be readOnly

  • clarify that health status should be from client point-of-view in Health chapter

Release v2024.01

31 Jan 09:56
Compare
Choose a tag to compare

Changes:

  • new: a document may also be a singleton that’s not part of a collection (Singleton documents)
  • new: path parameter names should use lowerCamelCase [path-param]
  • update: clarify that query parameters should use lowerCamelCase [uri-notat]
  • update: the name of a multi-value query parameter should be singular if it’s a noun [qry-multi]
  • new: explicit rule and clearer guidelines on GET /health resource [hlth-res]

Release v2023.10

05 Oct 13:40
Compare
Choose a tag to compare

Changes:

  • update: [req-valid] issue type for unknown input is renamed
  • new: rule [hdr-case] on case-insensitivity of HTTP headers
  • update: explicit rules for guidelines: [meth-http] and [stat-codes] (use of appropriate HTTP methods and status codes), [col-sort] (sorting a collection)
  • update: improved overview table for the use of HTTP methods [meth-http]
  • update: corrected use of status 303: allowed on all methods in overview table [stat-codes]
  • update: links to the releases of common OpenAPI definitions are added to [oas-comdef]
  • update: Problem Details for HTTP APIs is updated to RFC 9457 which obsoletes RFC 7807 throughout the guide

Release v2023.06

14 Jun 07:48
Compare
Choose a tag to compare

Changes:

  • add /doc/openapi.[json,yaml] to list of reserved resources
  • updated [rule-id-name]: naming convention for OpenAPI types for identifiers and codes
  • updated [rule-hyp-links]: avoid cross-API links, make self links optional
  • updated openapi doc resources to reserved resources
  • new: [rule-req-valid]: handling unknown request parameters
  • updated list of OpenAPI tools

Release v2023.03

17 Mar 11:58
Compare
Choose a tag to compare

Changes:

  • Rule identifier with anchor added for each rule in the guide

  • Updated [jsn-naming]: naming of JSON properties

  • Updated [id-name] with new naming conventions for identifiers and codes

Release v2022.12

07 Dec 15:26
Compare
Choose a tag to compare

Changes:

  • new: Representing general problem types in OpenAPI

  • new: Representing general and operation-specific HTTP headers in OpenAPI

Release v2022.10

28 Oct 08:26
Compare
Choose a tag to compare

Changes:

  • allow (partial) response body for POST to create resource