Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMB-489: remove lob-version header for snap packs #483

Merged
merged 1 commit into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
701 changes: 690 additions & 11 deletions dist/lob-api-bundled.yml

Large diffs are not rendered by default.

1,347 changes: 956 additions & 391 deletions dist/lob-api-postman.json

Large diffs are not rendered by default.

38 changes: 18 additions & 20 deletions docs/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lob-api-public.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.3

Check warning on line 1 in lob-api-public.yml

View workflow job for this annotation

GitHub Actions / Lint (push)

oas3-valid-media-example

This format violates OpenAPI 3.1 rules
info:
title: Lob
version: 1.19.26
version: 1.19.27
description: |
The Lob API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and uses HTTP response codes to indicate any API errors. <p>
license:
Expand Down Expand Up @@ -914,7 +914,7 @@
<div class="back-to-top" ><a href="#" onclick="toTopLink()">back to top</a></div>
- name: Getting Started
x-traitTag: true
description: |

Check warning on line 917 in lob-api-public.yml

View workflow job for this annotation

GitHub Actions / Lint (push)

no-script-tags-in-markdown

Markdown descriptions must not have "<script>" tags.
### 1. Get Setup
* Create an account at <a href="https://dashboard.lob.com/#/register" target="_blank">Lob.com</a>
* Obtain your API keys in the Lob dashboard <a href="https://dashboard.lob.com/settings/api-keys" target="_blank">settings</a>
Expand Down Expand Up @@ -2272,7 +2272,7 @@
### API Versioning

When backwards-incompatible changes are made to the API, a new dated version
is released. The latest version of the API is version **2020-02-11**.
is released. The latest version of the API is version **2024-01-01**.
All versions prior to, and inclusive of, 2019-02-11 have been sunsetted. You can
view your version and upgrade to the latest version in your
<a href="https://dashboard.lob.com/settings/api-keys" target="_blank">Dashboard Settings</a>. You will
Expand All @@ -2285,7 +2285,7 @@
```bash
curl https://api.lob.com/v1/addresses \
-u test_0dc8d51e0acffcb1880e0f19c79b2f5b0cc: \
-H "Lob-Version: 2020-02-11"
-H "Lob-Version: 2024-01-01"
```

### Specification Versioning
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lob/openapi",
"version": "1.19.26",
"version": "1.19.27",
"engines": {
"node": ">=14.16.0",
"npm": ">=7.9.0"
Expand Down
16 changes: 0 additions & 16 deletions resources/snap_packs/parameters/lob_version.yml

This file was deleted.

1 change: 0 additions & 1 deletion resources/snap_packs/snap_packs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
Creates a new snap_pack given information

tags:
- Snap Packs

Check warning on line 10 in resources/snap_packs/snap_packs.yml

View workflow job for this annotation

GitHub Actions / Lint (push)

operation-tag-defined

Operation tags must be defined in global tags.

parameters:
- $ref: "../../shared/parameters/idempotency.yml#/idem-header"
- $ref: "../../shared/parameters/idempotency.yml#/idem-query"
- $ref: "parameters/lob_version.yml#/lob-version"

requestBody:
required: true
Expand Down
Loading