Skip to content

Commit

Permalink
Update for API 1.34 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
xylo04 committed Jul 15, 2020
1 parent 61a033d commit 893aa1c
Show file tree
Hide file tree
Showing 14 changed files with 53 additions and 30 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ A description of subscription plans and rates is available on the [QRZ website](
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 1.33
- Package version: 1.0.0
- API version: 1.34
- Package version: 0.0.3
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand All @@ -30,7 +30,7 @@ import "./qrz"

## Documentation for API Endpoints

All URIs are relative to *https://xmldata.qrz.com/xml/1.33*
All URIs are relative to *https://xmldata.qrz.com/xml/1.34*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
Expand All @@ -53,5 +53,5 @@ Class | Method | HTTP request | Description

## Author

flloyd@qrz.com
va7stv@qrz.com

1 change: 1 addition & 0 deletions api/openapi-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
packageName: qrz
packageVersion: 0.0.3
withGoCodegenComment: true
withXml: true
19 changes: 15 additions & 4 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
openapi: 3.0.1
info:
contact:
email: flloyd@qrz.com
email: va7stv@qrz.com
description: |-
This document describes the interface specification for access to QRZ's XML subscription data service. This service provides real-time access to information from the QRZ.COM servers and databases.
Access to this service requires user authentication through the use of a valid QRZ.COM username and password. While any QRZ user may login to the service, an active QRZ Logbook Data subscription is required to access most of its features. Non-subscriber access limits the data fields that are returned and is primarily intended for testing and troubleshooting purposes only.
A description of subscription plans and rates is available on the [QRZ website](http://www.qrz.com/i/subscriptions.html).
title: QRZ XML Logbook Data Specification
version: "1.33"
version: "1.34"
externalDocs:
description: Textual description of the spec
url: https://www.qrz.com/XML/current_spec.html
servers:
- url: https://xmldata.qrz.com/xml/1.33
- url: http://xmldata.qrz.com/xml/1.33
- url: https://xmldata.qrz.com/xml/1.34
- url: http://xmldata.qrz.com/xml/1.34
paths:
/:
get:
Expand Down Expand Up @@ -267,6 +267,17 @@ components:
geoloc:
description: Describes source of lat/long data
type: string
attn:
description: Attention address line, this line should be prepended to the
address
type: string
nickname:
description: A different or shortened name used on the air
type: string
name_fmt:
description: Combined full name and nickname in the format used by QRZ.
This fortmat is subject to change.
type: string
type: object
DXCC:
properties:
Expand Down
4 changes: 2 additions & 2 deletions api_default.go

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

6 changes: 3 additions & 3 deletions client.go

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

12 changes: 6 additions & 6 deletions configuration.go

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

3 changes: 3 additions & 0 deletions docs/Callsign.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ Name | Type | Description | Notes
**Lotw** | **string** | Will accept LOTW (0/1 or blank if unknown) | [optional]
**Iota** | **string** | IOTA Designator (blank if unknown) | [optional]
**Geoloc** | **string** | Describes source of lat/long data | [optional]
**Attn** | **string** | Attention address line, this line should be prepended to the address | [optional]
**Nickname** | **string** | A different or shortened name used on the air | [optional]
**NameFmt** | **string** | Combined full name and nickname in the format used by QRZ. This fortmat is subject to change. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/DefaultApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# \DefaultApi

All URIs are relative to *https://xmldata.qrz.com/xml/1.33*
All URIs are relative to *https://xmldata.qrz.com/xml/1.34*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
10 changes: 8 additions & 2 deletions model_callsign.go

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

4 changes: 2 additions & 2 deletions model_dxcc.go

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

4 changes: 2 additions & 2 deletions model_qrz_database.go

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

4 changes: 2 additions & 2 deletions model_session.go

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

2 changes: 2 additions & 0 deletions regenerate.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/bin/bash
openapi-generator generate -i=api/openapi.yaml -g=go -c=api/openapi-config.yaml
go fmt ./...
go mod tidy
4 changes: 2 additions & 2 deletions response.go

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

0 comments on commit 893aa1c

Please sign in to comment.