Skip to content

Instantly share code, notes, and snippets.

View arno-di-loreto's full-sized avatar

Arnaud Lauret arno-di-loreto

View GitHub Profile
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Ruleset",
"description": "A Spectral Ruleset",
"type": "object",
"properties": {
"rules": {
"$ref": "#/$defs/Rule"
}
},
@arno-di-loreto
arno-di-loreto / security-defined.oas2.spectral.png
Last active March 26, 2022 09:41
Gist in tweet thread test
security-defined.oas2.spectral.png
@arno-di-loreto
arno-di-loreto / openapi-3.0-documented-examples.yaml
Created March 23, 2017 18:46
OpenAPI 3.0 proposal for documented examples
openapi: 3.0.0
paths:
/money-transfers:
# Giving information on an example
get:
parameters:
- name: filter
in: query
description: A natural language filter
@arno-di-loreto
arno-di-loreto / OpenAPI3.yaml
Created June 13, 2016 17:25
OpenAPI 3.0 proposal - Structural improvements: inheritance on paths and its sublevels (cf. https://github.com/OAI/OpenAPI-Specification/issues/684)
version: '3.0'
info:
version: 1.1.0
title: Simple API
description: A simple API to learn how to write OpenAPI Specification
schemes:
- https
host: simple.api
@arno-di-loreto
arno-di-loreto / openapi_specification_fka_swagger_specification_tutorial.md
Last active May 5, 2022 13:46
OpenAPI Specification (fka Swagger Specification) tutorial files from [API Handyman blog](http://apihandyman.io)