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

serve xml schema definitions #5

Merged
merged 2 commits into from
Dec 16, 2024
Merged

serve xml schema definitions #5

merged 2 commits into from
Dec 16, 2024

Conversation

kyokukou
Copy link
Contributor

xsd files copied from old oai repository

xsd files copied from old oai repository
@kyokukou kyokukou requested a review from bdc34 November 22, 2024 15:36
Copy link

@bdc34 bdc34 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change the xsd to just send_file unless there is actually something rendered in them.

@@ -41,6 +40,27 @@ def oai() -> Response:

return response, code, headers

@blueprint.route("/OAI/arXivRaw.xsd", methods=['GET', 'POST'])
def schema_arXivRaw() -> Response:
response=render_template("schema/arXivRaw.xsd")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kyokukou kyokukou requested a review from bdc34 December 2, 2024 16:43
@kyokukou kyokukou added this pull request to the merge queue Dec 16, 2024
Merged via the queue into develop with commit 146418f Dec 16, 2024
3 checks passed
@kyokukou kyokukou deleted the host_schema branch December 16, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants