OpenAPI
OpenAPI specification object model
Features
- Easy to integrate.
Installation
go get github.com/go-dummy/openapi
Usage
Documentation
See these docs.
OpenAPI specification object model
go get github.com/go-dummy/openapi
See these docs.
Bumps github.com/stretchr/testify from 1.7.5 to 1.8.0.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps github.com/stretchr/testify from 1.7.1 to 1.7.4.
48391ba
Fix panic in AssertExpectations for mocks without expectations (#1207)840cb80
arrays value types in a zero-initialized state are considered empty (#1126)07dc7ee
Bump actions/setup-go from 3.1.0 to 3.2.0 (#1191)c33fc8d
Bump actions/checkout from 2 to 3 (#1163)3c33e07
Added Go 1.18.1 as a build/supported version (#1182)e2b56b3
Bump github.com/stretchr/objx from 0.1.0 to 0.4.041453c0
Update gopkg.in/yaml.v3285adcc
Update go versions in build matrix6e7fab4
Bump actions/setup-go from 2 to 3.1.0106ec21
use RWMutexDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps github.com/stretchr/testify from 1.7.1 to 1.7.2.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps github.com/stretchr/testify from 1.7.1 to 1.7.2.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps github.com/stretchr/testify from 1.7.0 to 1.7.1.
083ff1c
Fixed didPanic to now detect panic(nil).1e36bfe
Use cross Go version compatible build tag syntaxe798dc2
Add docs on 1.17 build tags83198c2
assert: guard CanConvert call in backward compatible wrapper087b655
assert: allow comparing time.Time7bcf74e
fix msgAndArgs forwardingc29de71
add tests for correct msgAndArgs forwardingf87e2b2
Update buildsab6dc32
fix linting errors in /assert packageedff5a0
fix funtion nameDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps github.com/stretchr/testify from 1.7.1 to 1.7.5.
b5ce165
fixing panic in calls to assertion with nil m.mutex (#1212)c206b2e
Mock can be deadlocked by a panic (#1157)1b73601
suite: correctly set stats on test panic (#1195)ba1076d
Add .Unset method to mock (#982)c31ea03
Support comparing byte slice (#1202)48391ba
Fix panic in AssertExpectations for mocks without expectations (#1207)840cb80
arrays value types in a zero-initialized state are considered empty (#1126)07dc7ee
Bump actions/setup-go from 3.1.0 to 3.2.0 (#1191)c33fc8d
Bump actions/checkout from 2 to 3 (#1163)3c33e07
Added Go 1.18.1 as a build/supported version (#1182)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps github.com/stretchr/testify from 1.7.5 to 1.8.1.
b747d7c
Bump github.com/stretchr/objx from 0.4.0 to 0.5.0 (#1283)181cea6
impr: CallerInfo
should print full paths to the terminal (#1201)cf1284f
Allow mock expectations to be ordered (#1106)66eef0e
fix: assert.MapSubset (or just support maps in assert.Subset) (#1178)2fab6df
Add WithinTimeRange method (#1188)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)π Following Swagger Specification Parameters are part of the Path Parameter Object.
This is a minor change to add Parameters to the Path Parameter Object.
I'm trying to parse an OpenAPI specification written in YAML that contains a path name that starts with a question mark, but the openapi.Parse
function is returning the following error:
2022/07/31 22:47:56 [7:5] unexpected key name
4 | version: 1.0.0
5 | openapi: 3.0.1
6 | paths:? /images/meta/{ImageID}.json
^
8 | : description: Fetch a static image metadata
9 | get:
10 | description: Fetch static image metadata
11 |
exit status 1
Here is the OpenAPI specification that I'm using to produce the error:
info:
description: Example API
title: Example API
version: 1.0.0
openapi: 3.0.1
paths:
? /images/meta/{ImageID}.json
: description: Fetch a static image metadata
get:
description: Fetch static image metadata
operationId: FetchImageMetadata
parameters:
- description: ID of the image
in: path
name: ImageID
required: true
schema:
maxLength: 36
minLength: 36
type: string
pattern: ^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$
responses:
'200':
description: OK
The YAML seems to be valid syntax and is OpenAPI spec.
Hello! I'm trying to parse an OpenAPI specification written in YAML that contains a dictionary with key names that are enclosed in single quotes, but the openapi.Parse
function is returning the following error:
2022/07/31 22:24:21 [16:20] unexpected key name
13 | - args:
14 | field: registration
15 | mapping:
> 16 | '0': init
17 | '1': confirmation
^
18 | '2': active
exit status 1
Here is the OpenAPI specification that I'm using to produce the error:
info:
description: Example API
title: Example API
version: 1.0.0
openapi: 3.0.1
paths:
/users:
description: Users
get:
description: Retrieve all users
operationId: ListUsers
x-custom-properties:
- args:
field: registration
mapping:
'0': init
'1': confirmation
'2': active
As far as I know, the YAML is valid syntax and to OpenAPI spec.
OpenAPI plugin template Create a new OpenAPI based blink-plugin. READ FIRST Getting the Repo Option 1: From Github Press Use this template Naming conv
This is a HubSpot Go client generated using openapi-generator. It includes packages for every OpenAPI spec listed in HubSpot's API directory. Installi
Go API client for swagger OpenAPI for Todolist RESTful API Overview This API cli
tfpgen An experimental OpenAPI -> Terraform Provider generator that does not yet function. The goal is to allow developers to incrementally generate a
Open Source API Firewall API Firewall is a high-performance proxy with API request and response validation based on OpenAPI/Swagger schema. It is desi
=covid-decoder= A simple REST API that parses COVID-19 certificates (provided in textual form) ?? Motivation There are plenty of Green Pass (COVID-19
go-kenall About Unofficially kenall (γ±γ³γͺγΌγ«) client written by Go.
go-wechaty Connecting Chatbots Wechaty is a RPA SDK for Wechat Individual Account that can help you create a chatbot in 6 lines of Go. Voice of the De
?? Usagi API - Wrapper This library is simple and easy to use and was developed entirely for Usagi API written in Go Lang. ??β?? Example package main
A small, fast, reliable pastemyst API wrapper written in Golang. Official pastemyst API docs found here.
go-notion Go written Notion SDK. Note: The Notion API is in beta phase Supported APIs It supports all APIs for Notion API (as for 2021-05-15). Blocks
aws-lambda-go-api-proxy makes it easy to run Golang APIs written with frameworks such as Gin with AWS Lambda and Amazon API Gateway.
WARNING That repository isn't available for production environment. Many endpoints aren't yet implemented. Be careful if you are using that module. pt
near-api-go A NEAR client written in Go The goal of this project is to provide a fully featured NEAR cleint in Go. There is support for most NEAR RPC
GO FIND APIS _____ ____ ______ _____ _ _ _____ _____ _____ _____ / ____|/ __ \ | ____|_ _| \ | | __ \ /\ | __ \_
gameanalytics-go gameanalytics-go is an inofficial sdk for gameanalytics which is written in go. It currently can send the following events: Business
This is the new API repository for Feel the Movies. Written in Go, totally open source. App Currently available for Android only. I have plans for an
diomedes-search Get a notification on Telegram whenever your movie opens bookings in a theater of your choice. Pre-requisites Install AWS CLI (v2) by
go-ant ANT, ANT+, ANT-FS library and ANT-USB driver written in Go Instalation Install with: go get -u github.com/purpl3F0x/go-ant Import to project im