SlideShare a Scribd company logo
Easy REST with
OpenAPI
Norbert Hartl

ZWEIDENKER GmbH
ZWEIDENKER GmbH
• 10 years old 

• Software solutions for mobile, web and
backend-only, too

• Pharo usage is growing steadily

• In cologne and organizing this year’s ESUG
REST
Easy REST with OpenAPI
REST
REpresentational 

State

Transfer
REST
• It uses HTTP
REST
• It uses HTTP 

• It is resource based
REST
• It uses HTTP 

• It is resource based

• It is not RPC
REST
• It uses HTTP 

• It is resource based

• It is not RPC

• It’s about hyper media
REST usually means
• Extract and validate parameters from
request

• Checking constraints of payload

• Produce documented response
JSON Schema
{

#name -> (JSONSchema string).

#age -> (JSONSchema integer) 

} asJSONSchema
OpenAPI Spec
…

	 	 "/pets/{petId}" : {

	 	 	 "get" : {

	 	 	 	 "summary" : "A call to acquire a pet",

	 	 	 	 "operationId" : "fetchPet",

	 	 	 	 "parameters" : [

	 	 	 	 	 {

	 	 	 	 	 	 "name" : "petId",

	 	 	 	 	 	 "in" : "path",

	 	 	 	 	 	 "schema" : {

	 	 	 	 	 	 	 "type" : "integer"

	 	 	 	 	 	 }

	 	 	 	 	 }

	 	 	 	 ],

	 	 	 	 "responses" : {

	 	 	 	 	 "200" : {

	 	 	 	 	 	 "content" : {

	 	 	 	 	 	 	 "application/json" : {

	 	 	 	 	 	 	 	 "schema" : …
DEMO
OpenAPI
• Specify Calls and data constraints

• Serialize to JSON spec

• Can be consumed by a client to automatically
create spec conform requests
Questions?
OpenAPI
Try
https://github.com/zweidenker/OpenAPI
Complain to
Norbert Hartl

norbert@2denker.de

More Related Content

PDF
Introduction to elasticsearch
KEY
Composing re-useable ETL on Hadoop
PDF
Analyse your SEO Data with R and Kibana
PPTX
Using server logs to your advantage
PDF
Yesplan: 10 Years later
PPTX
Александр Сергиенко, Senior Android Developer, DataArt
PDF
Side by Side with Elasticsearch and Solr
Introduction to elasticsearch
Composing re-useable ETL on Hadoop
Analyse your SEO Data with R and Kibana
Using server logs to your advantage
Yesplan: 10 Years later
Александр Сергиенко, Senior Android Developer, DataArt
Side by Side with Elasticsearch and Solr

What's hot (19)

PPTX
Realtimestream and realtime fastcatsearch
PDF
Use Cases for Elastic Search Percolator
PDF
elasticsearch - advanced features in practice
ODP
Elastic Search
PDF
Parse: 5 tricks that won YC Hacks
PDF
Atmosphere 2016 - Albert Lacki, Jaroslaw Bloch - Real user monitoring at scal...
PPTX
曾勇 Elastic search-intro
PPSX
Real User Monitoring at Scale @ Atmosphere Conference 2016
PDF
Buildingsocialanalyticstoolwithmongodb
PDF
Introduction to Elasticsearch
KEY
REST Easy - Building RESTful Services in Zend Framework
PPTX
Elasticsearch 5.0
PPTX
ElasticSearch - Introduction to Aggregations
PPTX
Logs management
PDF
Elasticsearch War Stories
ODP
Query DSL In Elasticsearch
PDF
Elasticsearch for Data Analytics
PDF
Knot.x 1.X / 2.0 roadmap
PDF
Preparing your web services for Android and your Android app for web services...
Realtimestream and realtime fastcatsearch
Use Cases for Elastic Search Percolator
elasticsearch - advanced features in practice
Elastic Search
Parse: 5 tricks that won YC Hacks
Atmosphere 2016 - Albert Lacki, Jaroslaw Bloch - Real user monitoring at scal...
曾勇 Elastic search-intro
Real User Monitoring at Scale @ Atmosphere Conference 2016
Buildingsocialanalyticstoolwithmongodb
Introduction to Elasticsearch
REST Easy - Building RESTful Services in Zend Framework
Elasticsearch 5.0
ElasticSearch - Introduction to Aggregations
Logs management
Elasticsearch War Stories
Query DSL In Elasticsearch
Elasticsearch for Data Analytics
Knot.x 1.X / 2.0 roadmap
Preparing your web services for Android and your Android app for web services...
Ad

Similar to Easy REST with OpenAPI (20)

PPTX
Automatic discovery of Web API Specifications: an example-driven approach
PPTX
Example-driven Web API Specification Discovery
PDF
Schema-First API Design
PPTX
SVQdotNET: Building APIs with OpenApi
PDF
Building APIs with the OpenApi Spec
PPTX
Model-driven Round-trip Engineering of REST APIs
PDF
JSON API Specificiation
PDF
Introduction to REST - REST Basics - JSON
PPTX
The Swagger Format becomes the Open API Specification: Standardizing descript...
PDF
Designing APIs with Swagger and OpenAPI 1st Edition Joshua S. Ponelat
PPTX
A Community-based, Graph API Framework to Integrate and Orchestrate Cloud-Bas...
PDF
Testing libraries for fun & profit. Beware: Increased productivity ahead
PPTX
A Graph API Framework - APIdays Barcelona 2015
PPTX
A Graph API Framework Incorporating the Cloud Based Services Landscape
PPTX
Open API Specification - SiliconValley Code camp 2017 session @siddiqimuhammad
PDF
apidays Paris 2024 - Walk the OpenAPI Talk, Moonwalk the Developer Experience...
PDF
Contract-driven development with OpenAPI 3 and Vert.x | DevNation Tech Talk
PPTX
API Docs with OpenAPI 3.0
PDF
OpenAPI development with Python
PPTX
Open API Specifications - formerly swagger
Automatic discovery of Web API Specifications: an example-driven approach
Example-driven Web API Specification Discovery
Schema-First API Design
SVQdotNET: Building APIs with OpenApi
Building APIs with the OpenApi Spec
Model-driven Round-trip Engineering of REST APIs
JSON API Specificiation
Introduction to REST - REST Basics - JSON
The Swagger Format becomes the Open API Specification: Standardizing descript...
Designing APIs with Swagger and OpenAPI 1st Edition Joshua S. Ponelat
A Community-based, Graph API Framework to Integrate and Orchestrate Cloud-Bas...
Testing libraries for fun & profit. Beware: Increased productivity ahead
A Graph API Framework - APIdays Barcelona 2015
A Graph API Framework Incorporating the Cloud Based Services Landscape
Open API Specification - SiliconValley Code camp 2017 session @siddiqimuhammad
apidays Paris 2024 - Walk the OpenAPI Talk, Moonwalk the Developer Experience...
Contract-driven development with OpenAPI 3 and Vert.x | DevNation Tech Talk
API Docs with OpenAPI 3.0
OpenAPI development with Python
Open API Specifications - formerly swagger
Ad

Recently uploaded (20)

PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Getting Started with Data Integration: FME Form 101
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
project resource management chapter-09.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
A Presentation on Touch Screen Technology
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Approach and Philosophy of On baking technology
PDF
Hybrid model detection and classification of lung cancer
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
Encapsulation_ Review paper, used for researhc scholars
Getting Started with Data Integration: FME Form 101
Zenith AI: Advanced Artificial Intelligence
project resource management chapter-09.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
TLE Review Electricity (Electricity).pptx
Unlocking AI with Model Context Protocol (MCP)
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
1 - Historical Antecedents, Social Consideration.pdf
A Presentation on Touch Screen Technology
Hindi spoken digit analysis for native and non-native speakers
Approach and Philosophy of On baking technology
Hybrid model detection and classification of lung cancer
cloud_computing_Infrastucture_as_cloud_p
NewMind AI Weekly Chronicles - August'25-Week II
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
OMC Textile Division Presentation 2021.pptx
A comparative study of natural language inference in Swahili using monolingua...

Easy REST with OpenAPI