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

Remove leading "./" from $ref statements #90

Merged
merged 7 commits into from
Aug 7, 2023
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
10 changes: 5 additions & 5 deletions src/crawler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ security:
components:
responses:
empty:
$ref: "./responses/empty.yaml#/empty"
$ref: "responses/empty.yaml#/empty"
requestBodies:
empty:
$ref: "./requestBodies/empty.yaml#/empty"
$ref: "requestBodies/empty.yaml#/empty"
schemas:
connection_info:
$ref: "./schemas/connection_info.yaml#/connection_info"
$ref: "schemas/connection_info.yaml#/connection_info"
apiResponse:
$ref: "./schemas/apiResponse.yaml#/apiResponse"
$ref: "schemas/apiResponse.yaml#/apiResponse"
securitySchemes:
bearerAuth:
$ref: "./securitySchemes/bearerAuth.yaml#/bearerAuth"
$ref: "securitySchemes/bearerAuth.yaml#/bearerAuth"
tags:
- name: Shared
description: Methods shared by all services.
Expand Down
22 changes: 11 additions & 11 deletions src/daemon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,27 @@ security:
components:
requestBodies:
empty:
$ref: "./requestBodies/empty.yaml#/empty"
$ref: "requestBodies/empty.yaml#/empty"
service:
$ref: "./requestBodies/service.yaml#/service"
$ref: "requestBodies/service.yaml#/service"
responses:
empty:
$ref: "./responses/empty.yaml#/empty"
$ref: "responses/empty.yaml#/empty"
schemas:
k_size:
$ref: "./schemas/k_size.yaml#/k_size"
$ref: "schemas/k_size.yaml#/k_size"
key_data:
$ref: "./schemas/key_data.yaml#/key_data"
$ref: "schemas/key_data.yaml#/key_data"
plotter_config:
$ref: "./schemas/plotter_config.yaml#/plotter_config"
$ref: "schemas/plotter_config.yaml#/plotter_config"
plotter_info:
$ref: "./schemas/plotter_info.yaml#/plotter_info"
$ref: "schemas/plotter_info.yaml#/plotter_info"
queued_plot_info:
$ref: "./schemas/queued_plot_info.yaml#/queued_plot_info"
$ref: "schemas/queued_plot_info.yaml#/queued_plot_info"
apiResponse:
$ref: "./schemas/apiResponse.yaml#/apiResponse"
$ref: "schemas/apiResponse.yaml#/apiResponse"
error_details:
$ref: "./schemas/error_details.yaml#/error_details"
$ref: "schemas/error_details.yaml#/error_details"
keyring_status:
type: object
properties:
Expand Down Expand Up @@ -81,7 +81,7 @@ components:
type: string
securitySchemes:
bearerAuth:
$ref: "./securitySchemes/bearerAuth.yaml#/bearerAuth"
$ref: "securitySchemes/bearerAuth.yaml#/bearerAuth"
tags:
- name: Daemon
description: The daemon interface is exposed on port 55400 by default and uses WebSockets only. It can be used to interact with other service endpoints.
Expand Down
24 changes: 12 additions & 12 deletions src/data_layer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,32 +25,32 @@ security:
components:
requestBodies:
empty:
$ref: "./requestBodies/empty.yaml#/empty"
$ref: "requestBodies/empty.yaml#/empty"
responses:
empty:
$ref: "./responses/empty.yaml#/empty"
$ref: "responses/empty.yaml#/empty"
schemas:
connection_info:
$ref: "./schemas/connection_info.yaml#/connection_info"
$ref: "schemas/connection_info.yaml#/connection_info"
internal_node:
$ref: "./schemas/internal_node.yaml#/internal_node"
$ref: "schemas/internal_node.yaml#/internal_node"
mirror:
$ref: "./schemas/mirror.yaml#/mirror"
$ref: "schemas/mirror.yaml#/mirror"
offer:
$ref: "./schemas/offer.yaml#/offer"
$ref: "schemas/offer.yaml#/offer"
offer_store:
$ref: "./schemas/offer_store.yaml#/offer_store"
$ref: "schemas/offer_store.yaml#/offer_store"
plugin_status:
$ref: "./schemas/plugin_status.yaml#/plugin_status"
$ref: "schemas/plugin_status.yaml#/plugin_status"
terminal_node:
$ref: "./schemas/terminal_node.yaml#/terminal_node"
$ref: "schemas/terminal_node.yaml#/terminal_node"
transaction_record:
$ref: "./schemas/transaction_record.yaml#/transaction_record"
$ref: "schemas/transaction_record.yaml#/transaction_record"
apiResponse:
$ref: "./schemas/apiResponse.yaml#/apiResponse"
$ref: "schemas/apiResponse.yaml#/apiResponse"
securitySchemes:
bearerAuth:
$ref: "./securitySchemes/bearerAuth.yaml#/bearerAuth"
$ref: "securitySchemes/bearerAuth.yaml#/bearerAuth"
tags:
- name: Shared
description: Methods shared by all services.
Expand Down
26 changes: 13 additions & 13 deletions src/farmer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,29 +25,29 @@ security:
components:
requestBodies:
empty:
$ref: "./requestBodies/empty.yaml#/empty"
$ref: "requestBodies/empty.yaml#/empty"
responses:
empty:
$ref: "./responses/empty.yaml#/empty"
$ref: "responses/empty.yaml#/empty"
schemas:
connection_info:
$ref: "./schemas/connection_info.yaml#/connection_info"
$ref: "schemas/connection_info.yaml#/connection_info"
harvester_info:
$ref: "./schemas/harvester_info.yaml#/harvester_info"
$ref: "schemas/harvester_info.yaml#/harvester_info"
harvester_summary:
$ref: "./schemas/harvester_summary.yaml#/harvester_summary"
$ref: "schemas/harvester_summary.yaml#/harvester_summary"
paginated_plot_request:
$ref: "./schemas/paginated_plot_request.yaml#/paginated_plot_request"
$ref: "schemas/paginated_plot_request.yaml#/paginated_plot_request"
pool_state_info:
$ref: "./schemas/pool_state_info.yaml#/pool_state_info"
$ref: "schemas/pool_state_info.yaml#/pool_state_info"
plot_info_request_data:
$ref: "./schemas/plot_info_request_data.yaml#/plot_info_request_data"
$ref: "schemas/plot_info_request_data.yaml#/plot_info_request_data"
plot_path_request_data:
$ref: "./schemas/plot_path_request_data.yaml#/plot_path_request_data"
$ref: "schemas/plot_path_request_data.yaml#/plot_path_request_data"
proof_of_space:
$ref: "./schemas/proof_of_space.yaml#/proof_of_space"
$ref: "schemas/proof_of_space.yaml#/proof_of_space"
farmer_signage_point:
$ref: "./schemas/farmer_signage_point.yaml#/farmer_signage_point"
$ref: "schemas/farmer_signage_point.yaml#/farmer_signage_point"
signage_point_bundle:
type: object
properties:
Expand All @@ -68,10 +68,10 @@ components:
minItems: 2
maxItems: 2
apiResponse:
$ref: "./schemas/apiResponse.yaml#/apiResponse"
$ref: "schemas/apiResponse.yaml#/apiResponse"
securitySchemes:
bearerAuth:
$ref: "./securitySchemes/bearerAuth.yaml#/bearerAuth"
$ref: "securitySchemes/bearerAuth.yaml#/bearerAuth"
tags:
- name: Shared
description: Methods shared by all services.
Expand Down
46 changes: 23 additions & 23 deletions src/full_node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ security:
components:
requestBodies:
empty:
$ref: "./requestBodies/empty.yaml#/empty"
$ref: "requestBodies/empty.yaml#/empty"
header_hash:
required: true
description: the block's header_hash
Expand Down Expand Up @@ -58,7 +58,7 @@ components:
format: uint32
responses:
empty:
$ref: "./responses/empty.yaml#/empty"
$ref: "responses/empty.yaml#/empty"
coin_records:
description: OK
content:
Expand All @@ -74,15 +74,15 @@ components:
- $ref: "#/components/schemas/apiResponse"
schemas:
proof_of_space:
$ref: "./schemas/proof_of_space.yaml#/proof_of_space"
$ref: "schemas/proof_of_space.yaml#/proof_of_space"
blockchain_state:
$ref: "./schemas/blockchain_state.yaml#/blockchain_state"
$ref: "schemas/blockchain_state.yaml#/blockchain_state"
block_record:
$ref: "./schemas/block_record.yaml#/block_record"
$ref: "schemas/block_record.yaml#/block_record"
coin:
$ref: "./schemas/coin.yaml#/coin"
$ref: "schemas/coin.yaml#/coin"
coin_record:
$ref: "./schemas/coin_record.yaml#/coin_record"
$ref: "schemas/coin_record.yaml#/coin_record"
coin_search_options:
type: object
properties:
Expand All @@ -95,38 +95,38 @@ components:
include_spent_coins:
type: boolean
coin_spend:
$ref: "./schemas/coin_spend.yaml#/coin_spend"
$ref: "schemas/coin_spend.yaml#/coin_spend"
connection_info:
$ref: "./schemas/connection_info.yaml#/connection_info"
$ref: "schemas/connection_info.yaml#/connection_info"
foliage:
$ref: "./schemas/foliage.yaml#/foliage"
$ref: "schemas/foliage.yaml#/foliage"
foliage_transaction_block:
$ref: "./schemas/foliage_transaction_block.yaml#/foliage_transaction_block"
$ref: "schemas/foliage_transaction_block.yaml#/foliage_transaction_block"
full_block:
$ref: "./schemas/full_block.yaml#/full_block"
$ref: "schemas/full_block.yaml#/full_block"
end_of_sub_slot_bundle:
$ref: "./schemas/end_of_sub_slot_bundle.yaml#/end_of_sub_slot_bundle"
$ref: "schemas/end_of_sub_slot_bundle.yaml#/end_of_sub_slot_bundle"
mempool_item:
$ref: "./schemas/mempool_item.yaml#/mempool_item"
$ref: "schemas/mempool_item.yaml#/mempool_item"
network_info:
$ref: "./schemas/network_info.yaml#/network_info"
$ref: "schemas/network_info.yaml#/network_info"
node_type:
$ref: "./schemas/node_type.yaml#/node_type"
$ref: "schemas/node_type.yaml#/node_type"
signage_point:
$ref: "./schemas/signage_point.yaml#/signage_point"
$ref: "schemas/signage_point.yaml#/signage_point"
spend_bundle:
$ref: "./schemas/spend_bundle.yaml#/spend_bundle"
$ref: "schemas/spend_bundle.yaml#/spend_bundle"
unfinished_header_block:
$ref: "./schemas/unfinished_header_block.yaml#/unfinished_header_block"
$ref: "schemas/unfinished_header_block.yaml#/unfinished_header_block"
apiResponse:
$ref: "./schemas/apiResponse.yaml#/apiResponse"
$ref: "schemas/apiResponse.yaml#/apiResponse"
vdf_info:
$ref: "./schemas/vdf_info.yaml#/vdf_info"
$ref: "schemas/vdf_info.yaml#/vdf_info"
vdf_proof:
$ref: "./schemas/vdf_proof.yaml#/vdf_proof"
$ref: "schemas/vdf_proof.yaml#/vdf_proof"
securitySchemes:
bearerAuth:
$ref: "./securitySchemes/bearerAuth.yaml#/bearerAuth"
$ref: "securitySchemes/bearerAuth.yaml#/bearerAuth"
tags:
- name: Blocks
description: Methods for managing blocks.
Expand Down
14 changes: 7 additions & 7 deletions src/harvester.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@ security:
components:
requestBodies:
empty:
$ref: "./requestBodies/empty.yaml#/empty"
$ref: "requestBodies/empty.yaml#/empty"
responses:
empty:
$ref: "./responses/empty.yaml#/empty"
$ref: "responses/empty.yaml#/empty"
schemas:
connection_info:
$ref: "./schemas/connection_info.yaml#/connection_info"
$ref: "schemas/connection_info.yaml#/connection_info"
k_size:
$ref: "./schemas/k_size.yaml#/k_size"
$ref: "schemas/k_size.yaml#/k_size"
plot_info:
$ref: "./schemas/plot_info.yaml#/plot_info"
$ref: "schemas/plot_info.yaml#/plot_info"
apiResponse:
$ref: "./schemas/apiResponse.yaml#/apiResponse"
$ref: "schemas/apiResponse.yaml#/apiResponse"
securitySchemes:
bearerAuth:
$ref: "./securitySchemes/bearerAuth.yaml#/bearerAuth"
$ref: "securitySchemes/bearerAuth.yaml#/bearerAuth"
tags:
- name: Shared
description: Methods shared by all services.
Expand Down
Loading