Skip to content

Instantly share code, notes, and snippets.

View char0n's full-sized avatar
GitHub Star

Vladimír Gorej char0n

GitHub Star
View GitHub Profile
{
"openapi": "3.1.0",
"info": {
"title": "Shlink",
"description": "Shlink, the self-hosted URL shortener",
"version": "3.0"
},
"servers": [
{
"url": "{scheme}:\/\/{host}",
{
"openapi": "3.1.0",
"info": {
"title": "FastAPI",
"version": "0.1.0"
},
"paths": {
"/hello": {
"get": {
"summary": "Hello",
{
"openapi": "3.1.0",
"info": {
"title": "Deployed Resources",
"version": "1.0.0"
},
"servers": [
{"url": "https://ridagop.net"},
{"url": "/"}
],
@char0n
char0n / Dockerfile
Last active September 20, 2023 17:03
Installing specific Node.js version to in Ubuntu Docker Image using nvm
FROM ubuntu:jammy
# use bash as default shell
SHELL ["/bin/bash", "-c"]
# install prerequisites
RUN apt-get update -y && apt-get install -y wget
# install Node.js using nvm
RUN mkdir -p /usr/local/nvm
openapi: 3.1.0
info:
version: 1.0.0
title: Novo to Back Office (Financials)
description: This API contains Novo to Back Office Integrations (Financials)
servers:
- description: PeopleSoft Financials
url: www
security:
openapi: 3.1.0
info:
title: Swagger Petstore - OpenAPI 3.1
description: |-
This is a sample Pet Store Server based on the OpenAPI 3.1 specification. You can find out more about
Swagger at [https://swagger.io](https://swagger.io). In the third iteration of the pet store, we've switched to the design first approach!
You can now help us improve the API whether it's by making changes to the definition itself or to the code.
That way, with time, we can improve the API in general, and expose some of the new features in OAS3.
Some useful links:
openapi: '3.0.0'
info:
title: "Foo"
version: 1.0.0
servers:
- url: https://foo/v1/api
paths:
/upload/:
type: object
properties:
prop1:
type: string
prop2:
type: integer
key: value
openapi: 3.1.0
info:
version: 1.2.3
title: title
components:
schemas:
Location:
properties:
lat:
type: integer