Home / Companies / APIMATIC / Blog / July 2022

July 2022 Summaries

2 posts from APIMATIC

Filter
Month: Year:
Post Summaries Back to Blog
Docs as code refers to writing documentation using the same tools and processes that developers use to write code, enabling better collaboration, version control, and automation in documentation creation. This approach allows for smaller feedback loops, instant updates after API changes, supporting version control, efficient collaboration, and leveraging familiar tools & workflows, ultimately leading to improved documentation quality and reduced lead times. By adopting a docs as code approach, teams can streamline their documentation workflow, eliminate friction caused by proprietary tooling, and enjoy seamless autogeneration of API documentation with tools like APIMatic.
Jul 13, 2022 947 words in the original blog post.
OneOf is a keyword defined by OpenAPI 3.0 that combines schemas to define a schema that can be validated against multiple criteria, making it easier for developers to define schemas and validate data. It ensures that the incoming value in a request or response should be valid against only one of the schemas defined by the API specification. OneOf can be used at different levels, including custom vs primitive types, field vs parameter, maps, arrays, and in both request and response types, and it supports use cases such as sending data to an endpoint that must conform to a specific format or validating data against multiple schemas. The keyword is also supported in various programming languages, including Java, through developer experience platforms like APIMatic.
Jul 07, 2022 1,002 words in the original blog post.