-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial OpenAPI NHGIS Implementation (#8)
* Added some new deps for OpenAPI integration * Added OpenAPI integrations * Yo ho, oh no, a piratin' we go * Generated functions by OpenAPI * Placedholder documentation for generated OpenAPI commands * Handy model includes file * YAML used to generate NHGIS OpenAPI commands * Error with the typing for basis; changed to Int64 * Forgive me, a sinner
- Loading branch information
1 parent
77ac151
commit 12e8c49
Showing
47 changed files
with
2,912 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# DataExtract | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**extractDefinition** | [***DataExtractExtractDefinition**](DataExtractExtractDefinition.md) | | [optional] [default to nothing] | ||
**number** | **Int64** | | [optional] [default to nothing] | ||
**status** | **String** | | [optional] [default to nothing] | ||
**downloadLinks** | [***DataExtractDownloadLinks**](DataExtractDownloadLinks.md) | | [optional] [default to nothing] | ||
|
||
|
||
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# DataExtractDownloadLinks | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**codebookPreview** | **String** | | [optional] [default to nothing] | ||
**tableData** | **String** | | [optional] [default to nothing] | ||
**gisData** | **String** | | [optional] [default to nothing] | ||
|
||
|
||
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# DataExtractExtractDefinition | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**datasets** | [**Dict{String, Dataset}**](Dataset.md) | | [optional] [default to nothing] | ||
**timeSeriesTables** | [**Dict{String, TimeSeriesTable}**](TimeSeriesTable.md) | | [optional] [default to nothing] | ||
**dataFormat** | **String** | | [optional] [default to nothing] | ||
**timeSeriesTableLayout** | **String** | | [optional] [default to nothing] | ||
**breakdownAndDataTypeLayout** | **String** | | [optional] [default to nothing] | ||
**shapefiles** | **Vector{String}** | | [optional] [default to nothing] | ||
**geographicExtents** | **Vector{String}** | | [optional] [default to nothing] | ||
**description** | **String** | | [optional] [default to nothing] | ||
**version** | **Int64** | | [optional] [default to nothing] | ||
**collection** | **String** | | [optional] [default to nothing] | ||
|
||
|
||
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# DataExtractPost | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**datasets** | [**Dict{String, Dataset}**](Dataset.md) | | [optional] [default to nothing] | ||
**timeSeriesTables** | [**Dict{String, TimeSeriesTable}**](TimeSeriesTable.md) | | [optional] [default to nothing] | ||
**dataFormat** | **String** | | [optional] [default to nothing] | ||
**timeSeriesTableLayout** | **String** | | [optional] [default to nothing] | ||
**breakdownAndDataTypeLayout** | **String** | | [optional] [default to nothing] | ||
**shapefiles** | **Vector{String}** | | [optional] [default to nothing] | ||
**geographicExtents** | **Vector{String}** | | [optional] [default to nothing] | ||
**description** | **String** | | [optional] [default to nothing] | ||
|
||
|
||
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# DataExtractPostResponse | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**extractDefinition** | [***DataExtractExtractDefinition**](DataExtractExtractDefinition.md) | | [optional] [default to nothing] | ||
**number** | **Int64** | | [optional] [default to nothing] | ||
**status** | **String** | | [optional] [default to nothing] | ||
**downloadLinks** | [***DataExtractDownloadLinks**](DataExtractDownloadLinks.md) | | [optional] [default to nothing] | ||
|
||
|
||
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# DataTableFull | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**name** | **String** | | [optional] [default to nothing] | ||
**nhgisCode** | **String** | | [optional] [default to nothing] | ||
**description** | **String** | | [optional] [default to nothing] | ||
**universe** | **String** | | [optional] [default to nothing] | ||
**sequence** | **Int64** | | [optional] [default to nothing] | ||
**datasetName** | **String** | | [optional] [default to nothing] | ||
**variables** | [**Vector{DataTableFullVariablesInner}**](DataTableFullVariablesInner.md) | | [optional] [default to nothing] | ||
|
||
|
||
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# DataTableFullVariablesInner | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**name** | **String** | | [optional] [default to nothing] | ||
**nhgisCode** | **String** | | [optional] [default to nothing] | ||
|
||
|
||
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# DataTableSimple | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**name** | **String** | | [optional] [default to nothing] | ||
**nhgisCode** | **String** | | [optional] [default to nothing] | ||
**description** | **String** | | [optional] [default to nothing] | ||
**sequence** | **Int64** | | [optional] [default to nothing] | ||
|
||
|
||
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Dataset | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**dataTables** | **Vector{String}** | | [default to nothing] | ||
**geogLevels** | **Vector{String}** | | [default to nothing] | ||
**breakdownValues** | **Vector{String}** | | [optional] [default to nothing] | ||
**years** | **Vector{String}** | | [optional] [default to nothing] | ||
|
||
|
||
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# DatasetFull | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**name** | **String** | | [optional] [default to nothing] | ||
**description** | **String** | | [optional] [default to nothing] | ||
**group** | **String** | | [optional] [default to nothing] | ||
**sequence** | **Int64** | | [optional] [default to nothing] | ||
**dataTables** | [**Vector{DataTableSimple}**](DataTableSimple.md) | | [optional] [default to nothing] | ||
**geogLevels** | [**Vector{DatasetFullGeogLevelsInner}**](DatasetFullGeogLevelsInner.md) | | [optional] [default to nothing] | ||
**hasMultipleDataTypes** | **Bool** | | [optional] [default to nothing] | ||
**breakdowns** | [***DatasetFullBreakdowns**](DatasetFullBreakdowns.md) | | [optional] [default to nothing] | ||
|
||
|
||
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# DatasetFullBreakdowns | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**name** | **String** | | [optional] [default to nothing] | ||
**type** | **String** | | [optional] [default to nothing] | ||
**description** | **String** | | [optional] [default to nothing] | ||
**breakdownValues** | [**Vector{DatasetFullBreakdownsBreakdownValuesInner}**](DatasetFullBreakdownsBreakdownValuesInner.md) | | [optional] [default to nothing] | ||
**years** | **Vector{String}** | | [optional] [default to nothing] | ||
**geographicInstances** | [**Vector{DatasetFullBreakdownsBreakdownValuesInner}**](DatasetFullBreakdownsBreakdownValuesInner.md) | | [optional] [default to nothing] | ||
|
||
|
||
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# DatasetFullBreakdownsBreakdownValuesInner | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**name** | **String** | | [optional] [default to nothing] | ||
**description** | **String** | | [optional] [default to nothing] | ||
|
||
|
||
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# DatasetFullGeogLevelsInner | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**name** | **String** | | [optional] [default to nothing] | ||
**description** | **String** | | [optional] [default to nothing] | ||
**hasGeogExtentSelection** | **Bool** | | [optional] [default to nothing] | ||
|
||
|
||
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# DatasetSimple | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**name** | **String** | | [optional] [default to nothing] | ||
**description** | **String** | | [optional] [default to nothing] | ||
**group** | **String** | | [optional] [default to nothing] | ||
**sequence** | **Int64** | | [optional] [default to nothing] | ||
|
||
|
||
[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
Oops, something went wrong.